1.1.0 • Published 3 years ago

better-snowflake v1.1.0

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

better-snowflake

A simple and quick snowflake libary, better performance and effective.

How to use

1. install better-snowflake

npm install better-snowflake --save

2. usage

  const snowflake= require('better-snowflake')
  const worker_id=3, datacenter_id=7
  const idWorker = new Snowflake(worker_id, datacenter_id)
 
  const uuid = idWorker.nextId()
  console.log(uuid)

Contact/Issues

Email: alterhu2020@gmail.com

1.0.2

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.0

4 years ago