Skip to content

borisceranic/uniqider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uniqider: Generate unique identifiers

Build Status

This is a very simple module that generates unique identifiers. It is a thin wrapper around Random.js.

Usage

Install via npm or bower

npm install uniqider

In your code:

var uniqueId = require('uniqider');

// Retrieve unique id
var id = uniqueId();

API

uniqueId()

Returns a random id string, 16 bytes long, e.g.: UQ80VjpeSIb9ZMZW

License

BSD 3-Clause License

Copyright (c) 2015, Boris Ćeranić

About

Generate unique identifiers

Resources

License

Stars

Watchers

Forks

Packages

No packages published