json-server : Serves JSON files through REST routes.. You can installing json-server 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 json-server $ sudo npm install -g json-server
If want to update the json-server package execute the command as below,
$ sudo npm update json-server
Update package globally,
$ npm install -g json-server
$ sudo git clone https://github.com/rektide/json-server.git
$ sudo npm install -g ./json-server
json-server@0.12.1 /usr/lib/node_modules/json-server
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall json-server
Package Name | json-server |
Version | 0.12.1 |
Description | Serves JSON files through REST routes. |
Released Date | 2017-11-02T21:22:01.723Z |
Published by | typicode |
How to Learn | https://www.npmjs.com/package/json-server/tutorial |