How to Install flat NPM Packages on Ubuntu / Debian

How to Install flat software package in NPM Packages

flat : Take a nested Javascript object and flatten it, or unflatten an object with delimited keys. You can installing flat 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 flat
$ sudo npm install -g flat

If want to update the flat package execute the command as below,

$ sudo npm update flat

Update package globally,

$ npm install -g flat

Git clone:

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

flat@4.0.0 /usr/lib/node_modules/flat

How to remove flat package :

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

$ sudo npm uninstall flat

Basic Information of flat NPM Package:

Package Name flat
Version 4.0.0
Description Take a nested Javascript object and flatten it, or unflatten an object with delimited keys
Released Date 2017-07-25T07:18:19.906Z
Published by timoxley
How to Learn https://www.npmjs.com/package/flat/tutorial