Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-reduce-objectid

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-reduce-objectid - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

package.json
{
"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'
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc