simple-unique-id

A simple unique ID generator.

simple-unique-id

A simple unique ID generator.

Specify a string to be used as the basis for the hash.

// Load dependencies. 
var simple_unique_id = require('simple-unique-id')
 
// Generate rudimentary unique ID. 
var id = simple_unique_id.generate('Hello world!')
console.log('id: %s', id)

This should produce output like the following.

> node example.js
id: 022c749a1c5f1f7687166ed3badfa8a9158e83f6

Simple.

This repository is made available to the public as open source software under the MIT License.