precog
v0.1.3
Published
Client for Precog, a cloud-based analytics platform.
Downloads
2
Readme
Precog Client for JavaScript
Precog is a powerful analytics platform for JSON data. This JavaScript client allows easy querying and uploading of data.
Installation
Browser
Include precog.min.js
to get a global Precog
object:
<script src="precog.min.js"></script>
node.js
Install the precog
library:
npm install precog
And load the library:
var precog = require('precog');
Developement
If you would like to made modifications to the source, you can build a distribution by running the following from the project directory:
npm install
Tests can be run from npm:
npm test
Or by loading test-api.htm
under the test
directory into a
browser.
Documentation
Visit the Precog Developer Center for documentation on the REST API and client libraries.