How to Install mdns-js NPM Packages on Ubuntu / Debian

How to Install mdns-js software package in NPM Packages

mdns-js : JavaScript/NodeJS mDNS discovery implementation. You can installing mdns-js 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 mdns-js
$ sudo npm install -g mdns-js

If want to update the mdns-js package execute the command as below,

$ sudo npm update mdns-js

Update package globally,

$ npm install -g mdns-js

Git clone:

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

mdns-js@1.0.1 /usr/lib/node_modules/mdns-js

How to remove mdns-js package :

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

$ sudo npm uninstall mdns-js

Basic Information of mdns-js NPM Package:

Package Name mdns-js
Version 1.0.1
Description JavaScript/NodeJS mDNS discovery implementation
Released Date 2017-11-16T14:01:50.058Z
Published by kmpm
How to Learn https://www.npmjs.com/package/mdns-js/tutorial