0.0.1 • Public • Published

    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](

    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:

    1. Run the install script: bash ./NodeJS/
    2. Follow the instructions

    To uninstall NVM, Node.js and NPM:

    1. Run the install script: bash ./NodeJS/
    2. Follow the instructions

    Use in your application

    This library is published as a NPM package.

    1. Add it to your project: npm install node-pivotpi --save
    2. 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.


    Please review the file for license information.

    Notes for developers



    • 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.


    npm i node-pivotpi

    DownloadsWeekly Downloads






    Last publish


    • marcello.barile