How to Install preact-compat NPM Packages on Ubuntu / Debian

How to Install preact-compat software package in NPM Packages

preact-compat : A React compatibility layer for Preact. You can installing preact-compat 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 preact-compat
$ sudo npm install -g preact-compat

If want to update the preact-compat package execute the command as below,

$ sudo npm update preact-compat

Update package globally,

$ npm install -g preact-compat

Git clone:

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

preact-compat@3.17.0 /usr/lib/node_modules/preact-compat

How to remove preact-compat package :

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

$ sudo npm uninstall preact-compat

Basic Information of preact-compat NPM Package:

Package Name preact-compat
Version 3.17.0
Description A React compatibility layer for Preact
Released Date 2017-08-06T07:21:04.674Z
Published by developit
How to Learn https://www.npmjs.com/package/preact-compat/tutorial