uuid-hash

Es6 class that generates RFC-compliant UUID v5.

Usage no npm install needed!

<script type="module">
  import uuidHash from 'https://cdn.skypack.dev/uuid-hash';
</script>

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.