nuid
Advanced tools
Comparing version 0.6.8 to 0.6.10
@@ -0,15 +1,15 @@ | ||
export const version: string; | ||
declare class Nuid { | ||
/** | ||
* Resets the prefix of the global nuid, as well as the | ||
* pseudo random sequence number and increment amounts. | ||
* | ||
* @returns {string} | ||
*/ | ||
export function next(): string; | ||
/** | ||
* Resets the prefix of the global nuid, as well as the | ||
* pseudo random sequence number and increment amounts. | ||
*/ | ||
next():string; | ||
/** | ||
* Resets the prefix of the global nuid from random bytes, as | ||
* well as the pseudo random sequence number and increment amounts. | ||
*/ | ||
reset():void; | ||
} | ||
/** | ||
* Resets the prefix of the global nuid from random bytes, as | ||
* well as the pseudo random sequence number and increment amounts. | ||
*/ | ||
export function reset(): void; |
@@ -19,3 +19,3 @@ /*! | ||
*/ | ||
var VERSION = '0.6.8', | ||
var VERSION = '0.6.10', | ||
digits = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', | ||
@@ -22,0 +22,0 @@ base = 36, |
{ | ||
"name": "nuid", | ||
"version": "0.6.8", | ||
"version": "0.6.10", | ||
"description": "NUID - A highly performant unique identifier generator.", | ||
@@ -32,3 +32,4 @@ "keywords": [ | ||
"test": "npm run depcheck && npm run depcheck:unused && npm run lint && npm run test:unit", | ||
"coveralls": "cat ./reports/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" | ||
"coveralls": "npm run cover -- --report lcovonly && cat ./reports/coverage/lcov.info | coveralls", | ||
"cover": "istanbul cover _mocha" | ||
}, | ||
@@ -35,0 +36,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11536
13
218