How to Install sql.js NPM Packages on Ubuntu / Debian

How to Install sql.js software package in NPM Packages

sql.js : SQLite library with support for opening and writing databases, prepared statements, and more. This SQLite library is in pure javascript (compiled with emscripten).. You can installing sql.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 sql.js
$ sudo npm install -g sql.js

If want to update the sql.js package execute the command as below,

$ sudo npm update sql.js

Update package globally,

$ npm install -g sql.js

Git clone:

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

sql.js@0.4.0 /usr/lib/node_modules/sql.js

How to remove sql.js package :

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

$ sudo npm uninstall sql.js

Basic Information of sql.js NPM Package:

Package Name sql.js
Version 0.4.0
Description SQLite library with support for opening and writing databases, prepared statements, and more. This SQLite library is in pure javascript (compiled with emscripten).
Released Date 2016-11-22T11:16:25.838Z
Published by lovasoa
How to Learn https://www.npmjs.com/package/sql.js/tutorial