redlock : A node.js redlock implementation for distributed redis locks. You can installing redlock 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 redlock $ sudo npm install -g redlock
If want to update the redlock package execute the command as below,
$ sudo npm update redlock
Update package globally,
$ npm install -g redlock
$ sudo git clone https://github.com/rektide/redlock.git
$ sudo npm install -g ./redlock
redlock@3.1.0 /usr/lib/node_modules/redlock
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall redlock
| Package Name | redlock |
| Version | 3.1.0 |
| Description | A node.js redlock implementation for distributed redis locks |
| Released Date | 2017-09-21T17:12:58.762Z |
| Published by | mike-marcacci |
| How to Learn | https://www.npmjs.com/package/redlock/tutorial |