mksuid
K sortable unique ID library
Last updated 8 days ago by mofax .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mksuid 
SYNC missed versions from official npm registry.

mksuid

K sortable unique id's with millisecond precision inspired by ksuid

usage

import mksuid, { parse } from "mksuid";

let id = mksuid();
// id === BiGJuaJPoJlIhdcAMnZ

let obj = parse(id);
// obj === { time: 2017-11-13T04:17:57.678Z, payload: <Buffer 23 17 38 6f 06 d5 8d 5a> }

Current Tags

  • 0.1.1                                ...           latest (8 days ago)

6 Versions

  • 0.1.1                                ...           8 days ago
  • 0.1.0                                ...           8 days ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 4
This Month 26
Last Day 0
Last Week 22
Last Month 1
Dependencies (1)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |