mongodb-reduce-objectid
Advanced tools
Comparing version
{ | ||
"name": "mongodb-reduce-objectid", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,5 +18,5 @@ # Shorten MongoDb ObjectId | ||
```js | ||
const shortenId = require('mongodb-reduce-objectid'); | ||
const shorten = shortenId('5d0efa88f85b2f001172f6ba'); | ||
console.log(shorten); // => 'ahGw2K' | ||
const shortid = require('mongodb-reduce-objectid'); | ||
const shortnd = shortid('5d0efa88f85b2f001172f6ba'); | ||
console.log(shortnd); // => 'ahGw2K' | ||
``` |
4178
-0.1%