How to Install micro-cors NPM Packages on Ubuntu / Debian

How to Install micro-cors software package in NPM Packages

micro-cors : Simple CORS middleware for Zeits Micro. You can installing micro-cors 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 micro-cors
$ sudo npm install -g micro-cors

If want to update the micro-cors package execute the command as below,

$ sudo npm update micro-cors

Update package globally,

$ npm install -g micro-cors

Git clone:

$ sudo  git clone https://github.com/rektide/micro-cors.git
$ sudo  npm install -g ./micro-cors

micro-cors@0.0.4 /usr/lib/node_modules/micro-cors

How to remove micro-cors package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall micro-cors

Basic Information of micro-cors NPM Package:

Package Name micro-cors
Version 0.0.4
Description Simple CORS middleware for Zeits Micro
Released Date 2017-04-05T18:55:05.918Z
Published by possibilities
How to Learn https://www.npmjs.com/package/micro-cors/tutorial