JSPM

  • Created
  • Published
  • Downloads 1611
  • Score
    100M100P100Q121123F
  • License SEE LICENSE IN LICENSE

Es6 class that generates RFC-compliant UUID v5.

Package Exports

  • uuid-hash

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-hash

Usage

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.