Comparing version 1.1.0 to 1.2.0
@@ -11,2 +11,7 @@ export as namespace uuidInt; | ||
declare function UUID(id: number, seed: number): UUID.Generator; | ||
/** | ||
* uuid对象 | ||
* @param id machine unique id | ||
*/ | ||
declare function UUID(id: number): UUID.Generator; | ||
@@ -13,0 +18,0 @@ declare namespace UUID { |
{ | ||
"name": "uuid-int", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "uuid-int for nodejs", | ||
@@ -5,0 +5,0 @@ "main": "addon.js", |
@@ -1,6 +0,2 @@ | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![David deps][david-image]][david-url] | ||
@@ -24,5 +20,5 @@ [![Known Vulnerabilities][snyk-image]][snyk-url] | ||
# uuid-int | ||
uuid-int for nodejs . | ||
uuid-int for nodejs . | ||
[中文](./README.zh-CN.md) | ||
@@ -29,0 +25,0 @@ |
@@ -37,4 +37,4 @@ # uuid-int | ||
32bit 时间戳 秒 | ||
9bit 机器 | ||
12bit 自增 | ||
32bit 时间戳秒:能用最多100多年 | ||
9bit 机器:最多512台机器/线程 | ||
12bit 自增:每秒最多4096个 |
Sorry, the diff of this file is not supported yet
71
8774
10
46