sort-keys : Sort the keys of an object. You can installing sort-keys 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 sort-keys $ sudo npm install -g sort-keys
If want to update the sort-keys package execute the command as below,
$ sudo npm update sort-keys
Update package globally,
$ npm install -g sort-keys
$ sudo git clone https://github.com/rektide/sort-keys.git
$ sudo npm install -g ./sort-keys
sort-keys@2.0.0 /usr/lib/node_modules/sort-keys
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall sort-keys
| Package Name | sort-keys |
| Version | 2.0.0 |
| Description | Sort the keys of an object |
| Released Date | 2017-06-09T22:08:28.583Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/sort-keys/tutorial |