Client for Precog, a cloud-based analytics platform.

Precog Client for JavaScript

Precog is a powerful analytics platform for JSON data. This JavaScript client allows easy querying and uploading of data.

Include precog.min.js to get a global Precog object:

<script src="precog.min.js"></script>

Install the precog library:

npm install precog

And load the library:

var precog = require('precog');

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.

Visit the Precog Developer Center for documentation on the REST API and client libraries.