Package Exports
- uuid-hash
- uuid-hash/esm/index.js
- uuid-hash/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (uuid-hash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
UUID Hash
Es6 class that generates RFC-compliant UUID v5.
Installation
npm install uuid-hashUsage
const uuid = require('uuid-hash');
const identifier = uuid.createHash().update(contents).digest();Just like node-uuid for uuid v5, but removed the need to have all contents in-memory to be compatible with streams. API similar to the crypto module.