simple-unique-id

0.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i simple-unique-id

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • countfloortiles