npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

simple-noble-hashes

v0.0.1

Published

Pure JavaScript ES modules version of @noble/hashes - Audited & minimal 0-dependency JS implementation of SHA, RIPEMD, BLAKE, HMAC, HKDF, PBKDF & Scrypt

Readme

simple-noble-hashes

Pure JavaScript ES modules version of @noble/hashes - Audited & minimal 0-dependency JS implementation of SHA, RIPEMD, BLAKE, HMAC, HKDF, PBKDF & Scrypt.

This is a pre-compiled version of the noble-hashes library that:

  • ✅ Works directly with npm-based CDNs (unpkg, jsDelivr, esm.sh, etc.)
  • ✅ Pure JavaScript with ES modules
  • ✅ Includes TypeScript definitions (.d.ts files)
  • ✅ No build step required
  • ✅ Same API as the original @noble/hashes

Installation

npm install simple-noble-hashes

Or use directly from CDN:

import { sha256 } from 'https://unpkg.com/simple-noble-hashes/sha2.js';
import { blake3 } from 'https://unpkg.com/simple-noble-hashes/blake3.js';

Usage

The API is identical to @noble/hashes. Please refer to the original documentation for detailed usage instructions.

Quick example:

import { sha256 } from 'simple-noble-hashes/sha2';
import { blake3 } from 'simple-noble-hashes/blake3';
import { hmac } from 'simple-noble-hashes/hmac';
import { pbkdf2 } from 'simple-noble-hashes/pbkdf2';

// SHA-256 hash
const hash = sha256('hello world');

// BLAKE3 hash
const blake3Hash = blake3('hello world');

// HMAC-SHA256
const mac = hmac(sha256, 'key', 'message');

// PBKDF2
const derived = await pbkdf2(sha256, 'password', 'salt', { c: 100000, dkLen: 32 });

Available Algorithms

All algorithms from the original library are available:

  • SHA: sha1, sha256, sha384, sha512, sha224, sha512_224, sha512_256
  • SHA3: sha3_224, sha3_256, sha3_384, sha3_512, keccak_224, keccak_256, keccak_384, keccak_512
  • BLAKE: blake1, blake2s, blake2b, blake3
  • Other: ripemd160
  • KDF: hmac, hkdf, pbkdf2, scrypt, eskdf

Differences from @noble/hashes

  1. Pre-compiled: This package contains JavaScript files instead of TypeScript
  2. ES Modules only: Uses "type": "module" in package.json
  3. No build dependencies: No TypeScript or build tools required
  4. CDN-friendly: Works directly with npm-based CDNs

Original Library

This is a derivative work of @noble/hashes by Paul Miller.

  • 🔒 Audited by independent security firms
  • 🔻 Tree-shakeable: unused code is excluded from your builds
  • 🏎 Fast: optimized for performance
  • 🔍 Reliable: extensive test suite ensures correctness

Security

Please refer to the original security documentation and audits.

License

MIT License - Same as the original noble-hashes library.

Credits

All credit goes to Paul Miller for creating the original noble-hashes library.