How to Install mraa NPM Packages on Ubuntu / Debian

How to Install mraa software package in NPM Packages

mraa : IO library that helps you use I2c, SPI, gpio, uart, pwm, analog inputs (aio) and more on a number of platforms such as the Intel galileo, the Intel edison and others. You can installing mraa 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 mraa
$ sudo npm install -g mraa

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

$ sudo npm update mraa

Update package globally,

$ npm install -g mraa

Git clone:

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

mraa@1.8.0 /usr/lib/node_modules/mraa

How to remove mraa package :

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

$ sudo npm uninstall mraa

Basic Information of mraa NPM Package:

Package Name mraa
Version 1.8.0
Description IO library that helps you use I2c, SPI, gpio, uart, pwm, analog inputs (aio) and more on a number of platforms such as the Intel galileo, the Intel edison and others
Released Date 2017-09-15T09:38:09.413Z
Published by arfoll
How to Learn https://www.npmjs.com/package/mraa/tutorial