bson-objectid : Construct ObjectIDs without the mongodb driver or bson module. You can installing bson-objectid npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install bson-objectid $ sudo npm install -g bson-objectid
If want to update the bson-objectid package execute the command as below,
$ sudo npm update bson-objectid
Update package globally,
$ npm install -g bson-objectid
$ sudo git clone https://github.com/rektide/bson-objectid.git
$ sudo npm install -g ./bson-objectid
bson-objectid@1.2.1 /usr/lib/node_modules/bson-objectid
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall bson-objectid
Package Name | bson-objectid |
Version | 1.2.1 |
Description | Construct ObjectIDs without the mongodb driver or bson module |
Released Date | 2017-10-17T01:18:57.360Z |
Published by | williamkapke |
How to Learn | https://www.npmjs.com/package/bson-objectid/tutorial |