mongodb-reduce-objectid
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "mongodb-reduce-objectid", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,2 +7,16 @@ # Shorten MongoDb ObjectId | ||
Suit for `node` and `browser`. | ||
Suit for `node` and `browser`. | ||
# Install | ||
```console | ||
npm install --save mongodb-reduce-objectid | ||
``` | ||
# Usage | ||
```js | ||
const shortenId = require('mongodb-reduce-objectid'); | ||
const id = shortenId('5d0efa88f85b2f001172f6ba'); | ||
console.log(id); // => 'ahGw2K' | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4131
21