ucfirst : uppercase first character of a string. You can installing ucfirst 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 ucfirst $ sudo npm install -g ucfirst
If want to update the ucfirst package execute the command as below,
$ sudo npm update ucfirst
Update package globally,
$ npm install -g ucfirst
$ sudo git clone https://github.com/rektide/ucfirst.git
$ sudo npm install -g ./ucfirst
ucfirst@1.0.0 /usr/lib/node_modules/ucfirst
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall ucfirst
| Package Name | ucfirst |
| Version | 1.0.0 |
| Description | uppercase first character of a string |
| Released Date | 2015-07-09T02:58:48.068Z |
| Published by | deathcap |
| How to Learn | https://www.npmjs.com/package/ucfirst/tutorial |