How to Install tslib NPM Packages on Ubuntu / Debian

How to Install tslib software package in NPM Packages

tslib : Runtime library for TypeScript helper functions. You can installing tslib 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 tslib
$ sudo npm install -g tslib

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

$ sudo npm update tslib

Update package globally,

$ npm install -g tslib

Git clone:

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

tslib@1.8.0 /usr/lib/node_modules/tslib

How to remove tslib package :

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

$ sudo npm uninstall tslib

Basic Information of tslib NPM Package:

Package Name tslib
Version 1.8.0
Description Runtime library for TypeScript helper functions
Released Date 2017-10-11T04:34:53.500Z
Published by typescript
How to Learn https://www.npmjs.com/package/tslib/tutorial