Javascript library (browser & Node.js) to access and manipulate Pryv users data.
- Pryv basic example: Example exposing how to request an access and fetching basic informations form a Pryv account.
- Pryv notes and values example: Web form, enter notes and values.
- Pryv events monitor example: Monitor changes live on an Pryv account. Create, modifiy and delete events.
- Browser:
<script type="text/javascript" src="http://api.pryv.com/lib-javascript/latest/pryv.js"></script>
- Node.js:
npm install pryv
See the issues on the Waffle board.
Read, then run ./scripts/setup-environment-dev.sh
grunt
:
- applies code linting (with JSHint)
- builds documentation into
dist/{version}/docs
- browserifies the lib into
dist/{version}
as well asdist/latest
for browser standalone distribution - runs the tests, outputting coverage info into
test/coverage.html
Also: grunt test
& grunt watch
(runs tests on changes)
./scripts/update-event-types.bash
updates the default event types and extras by fetching the latest master versions online.
After building, just commit and push changes from dist
(working copy of gh-pages
branch).