How to Install logfmt NPM Packages on Ubuntu / Debian

How to Install logfmt software package in NPM Packages

logfmt : key=value logger and parser. You can installing logfmt 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 logfmt
$ sudo npm install -g logfmt

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

$ sudo npm update logfmt

Update package globally,

$ npm install -g logfmt

Git clone:

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

logfmt@1.2.0 /usr/lib/node_modules/logfmt

How to remove logfmt package :

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

$ sudo npm uninstall logfmt

Basic Information of logfmt NPM Package:

Package Name logfmt
Version 1.2.0
Description key=value logger and parser
Released Date 2014-09-24T04:58:09.298Z
Published by csquared
How to Learn https://www.npmjs.com/package/logfmt/tutorial