Playground

See VerifyFetch in action. Try the live demo, explore code examples, and understand the memory benefits.

Live Demo

Watch real integrity verification happen in your browser. We'll fetch a file and verify its hash.

https://cdn.jsdelivr.net/npm/lodash@4.17.21/package.json
Computing...
Result
Click "Fetch & Verify" to run the demo

Code Examples

Basic Usage

These are code examples for reference. Install VerifyFetch to run them in your project.

Memory Usage Comparison

Native crypto.subtle.digest() loads entire files into memory. VerifyFetch streams with constant 2MB usage.

Native (loads entire file)
VerifyFetch (constant 2MB)

Ready to add integrity verification?

Get started with one command

npm install verifyfetch
View Documentation