Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.