1.0.1 • Published 5 years ago

yyid-node v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

YYID for JavaScript (Node) [[travis]](https://travis-ci.org/jan lelis/yyid-node.js)

  • Generates a random string in UUID#4 format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  • In contrast to RFC 4122, it uses all digits (128bit)
  • Use a crytographically solid source of randomness: crypto.randomBytes
  • See yyid.js for a front-end (browser) version

Install

$ npm install yyid-node

Usage

var yyid = require('yyid-node');
yyid(); // => '5ebd4295-92a2-c98b-9103-b1e5d16f2bfa'

Other Versions

YYID is available for more languages, such as Ruby, Elixir, or Rust.

1.0.1

5 years ago

1.0.0

5 years ago