How to Install heap NPM Packages on Ubuntu / Debian

How to Install heap software package in NPM Packages

heap : binary heap (priority queue) algorithms (ported from Pythons heapq module). You can installing heap 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 heap
$ sudo npm install -g heap

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

$ sudo npm update heap

Update package globally,

$ npm install -g heap

Git clone:

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

heap@0.2.6 /usr/lib/node_modules/heap

How to remove heap package :

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

$ sudo npm uninstall heap

Basic Information of heap NPM Package:

Package Name heap
Version 0.2.6
Description binary heap (priority queue) algorithms (ported from Pythons heapq module)
Released Date 2015-02-09T07:09:00.041Z
Published by qiao
How to Learn https://www.npmjs.com/package/heap/tutorial