Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/pyramation/uuid-hash
- Owner: pyramation
- License: mit
- Created: 2018-10-15T04:57:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T00:22:14.000Z (about 4 years ago)
- Last Synced: 2024-04-24T23:21:40.216Z (8 months ago)
- Topics: crypto, es6, hash, node-module, npm, sha, uuid, uuidv5
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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.