How to Install ffi NPM Packages on Ubuntu / Debian

How to Install ffi software package in NPM Packages

ffi : A foreign function interface (FFI) for Node.js. You can installing ffi 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 ffi
$ sudo npm install -g ffi

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

$ sudo npm update ffi

Update package globally,

$ npm install -g ffi

Git clone:

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

ffi@2.2.0 /usr/lib/node_modules/ffi

How to remove ffi package :

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

$ sudo npm uninstall ffi

Basic Information of ffi NPM Package:

Package Name ffi
Version 2.2.0
Description A foreign function interface (FFI) for Node.js
Released Date 2016-10-29T19:57:13.301Z
Published by tootallnate
How to Learn https://www.npmjs.com/package/ffi/tutorial