requirejs : Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer. You can installing requirejs 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 requirejs $ sudo npm install -g requirejs
If want to update the requirejs package execute the command as below,
$ sudo npm update requirejs
Update package globally,
$ npm install -g requirejs
$ sudo git clone https://github.com/rektide/requirejs.git
$ sudo npm install -g ./requirejs
requirejs@2.3.5 /usr/lib/node_modules/requirejs
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall requirejs
| Package Name | requirejs |
| Version | 2.3.5 |
| Description | Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer |
| Released Date | 2017-08-20T23:03:32.003Z |
| Published by | jrburke |
| How to Learn | https://www.npmjs.com/package/requirejs/tutorial |