1.0.0 • Published 9 years ago

oidgen v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

oidgen

This simple tool can generate OIDs on the command line or you can use it to generate OIDs in your code.

Usage

On the command line:

$ npm install -g oidgen

$ oidgen
2.25.267664259272996019649272401465428726064

In your code:

$ npm install oidgen --save

var oidgen = require("oidgen");

console.log(oidgen.random());
// 2.25.267664259272996019649272401465428726064

console.log(oidgen.convertUUID("f81d4fae-7dec-11d0-a765-00a0c91e6bf6"));
// 2.25.329800735698586629295641978511506172918