0.0.1 • Published 10 years ago

simple-unique-id v0.0.1

Weekly downloads
8
License
-
Repository
github
Last release
10 years ago

simple-unique-id

A simple unique ID generator.

Example usage

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.

License

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