New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-pivotpi

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pivotpi

Drivers and examples for using the PivotPi in Node.js

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

PivotPi library for Node.js

PivotPi is a Servo Controller for the Raspberry Pi!

Learn more about the PivotPi Servo Controller for the Raspberry Pi here.

alt text

Getting Ideas

Need an idea to get started? We have a few project examples to get your creative juices flowing.

Getting Help

Need help? We [have a forum here where you can ask questions or make suggestions](http://forum.dexterindustries.com/c/pivotpi-servo-controller-for-raspberry-pi.

See more at the PivotPi Site

Install/Update Node.js

This library supports Node.js 8.x version, we provide a couple of bash scripts to install/uninstall the proper Node.js version. To install NVM (Node Version Manager), Node.js and NPM:

  • Run the install script: bash ./NodeJS/install.sh
  • Follow the instructions

To uninstall NVM, Node.js and NPM:

  • Run the install script: bash ./NodeJS/uninstall.sh
  • Follow the instructions

Use in your application

This library is published as a NPM package.

  • Add it to your project: npm install node-pivotpi --save
  • Use it in your code: const PivotPi = require('node-pivotpi')

For any initial hint please check the "examples" folder. Feel free to use the forum for any extra help.

License

Please review the LICENSE.md file for license information.

Notes for developers

Features

Commands

  • npm run clean - Remove lib/ directory
  • npm test - Run tests. Tests can be written with ES6 (WOW!)
  • npm test:watch - You can even re-run tests on file changes!
  • npm run cover - Yes. You can even cover ES6 code.
  • npm run lint - We recommend using airbnb-config. It's fantastic.
  • npm run test:examples - We recommend writing examples on pure JS for better understanding module usage.
  • npm run build - Do some magic with ES6 to create ES5 code.

Keywords

learning

FAQs

Package last updated on 17 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts