deprecate : Mark methods as deprecated and warn the user when theyre called. You can installing deprecate 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 deprecate $ sudo npm install -g deprecate
If want to update the deprecate package execute the command as below,
$ sudo npm update deprecate
Update package globally,
$ npm install -g deprecate
$ sudo git clone https://github.com/rektide/deprecate.git
$ sudo npm install -g ./deprecate
deprecate@1.0.0 /usr/lib/node_modules/deprecate
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall deprecate
Package Name | deprecate |
Version | 1.0.0 |
Description | Mark methods as deprecated and warn the user when theyre called |
Released Date | 2016-08-18T20:25:02.630Z |
Published by | brianc |
How to Learn | https://www.npmjs.com/package/deprecate/tutorial |