Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pyramation/uuid-hash

Es6 class that generates RFC-compliant UUID v5.
https://github.com/pyramation/uuid-hash

crypto es6 hash node-module npm sha uuid uuidv5

Last synced: 2 days ago
JSON representation

Es6 class that generates RFC-compliant UUID v5.

Awesome Lists containing this project

README

        

# UUID Hash ![Build Status](https://travis-ci.org/pyramation/uuid-hash.svg?branch=master)

Es6 class that generates RFC-compliant UUID v5.

## Installation

```sh
npm install uuid-hash
```

## Usage

```js
const uuid = require('uuid-hash');
const identifier = uuid.createHash().update(contents).digest();
```

Just like [node-uuid](https://github.com/kelektiv/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.