consistent-ids
Advanced tools
Comparing version
@@ -31,3 +31,2 @@ 'use strict'; | ||
value: function getUniqKey(length) { | ||
console.log(length); | ||
@@ -34,0 +33,0 @@ var moduloLen = length % 7; |
{ | ||
"name": "consistent-ids", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A randomly consistent (a-la-Stripe) hash generator", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -22,3 +22,3 @@ # hash-generator | ||
```sh | ||
npm install @csauvage/hash-generator --save | ||
npm install consistent-ids --save | ||
``` | ||
@@ -28,3 +28,3 @@ Or use yarn (I ❤️ yarn) | ||
```sh | ||
yarn add @csauvage/hash-generator | ||
yarn add consistent-ids | ||
``` | ||
@@ -43,3 +43,3 @@ | ||
```js | ||
import HashGenerator from '@csauvage/id-generator'; | ||
import HashGenerator from 'consistent-ids'; | ||
@@ -46,0 +46,0 @@ const generator = new IdGenerator(); // We'll take care of HASH_KEY for you |
9147
-0.32%