particle-api-js-local v5.3.0
particle-api-js
JS Library for the Particle Cloud API for Node.js and the browser
Installation
particle-api-js is available from npm to use in Node.js, bower or jsDelivr CDN for use in the browser.
Npm
$ npm install particle-api-js`Bower
$ bower install particle-api-jsjsDelivr CDN
<script type="text/javascript" src="//cdn.jsdelivr.net/particle-api-js/5/particle.min.js">
</script>Documentation
First, read the documentation for Particle API JS on the Documentation website. It contains examples to get started.
For more details, read the API reference on GitHub.
Examples
There are many snippets of using Particle API JS on the Documentation website and some complete examples in the GitHub examples directory.
Building
Make your changes to the files in the src directory, then from the project directory run:
$ npm run compile && npm run buildThe dist directory will contain the compiled and minified files that can be included in your project.
Run tests to make sure your changes are good:
$ npm testUpdate the API docs with your changes:
$ npm run docsLicense
Copyright © 2016 Particle Industries, Inc. Released under the Apache 2.0 license. See LICENSE for details.
9 years ago