Installing Kinto.js

NodeJS

If you're using NodeJS and npm as a frontend package manager, you'll need NodeJS v6.x.x or higher installed on your system. Then:

$ npm install kinto --save

Notes

Read more about how to build Kinto.js in the Contributing section.

Static assets

Dev and production ready assets are available in the gh-pages branch of the repository. In general, you should download these files and ship them along your own projects, though you can also link them during development:

Notes

Only stable tags are released as dist files; if you plan on using latest versions from master, you need to build them manually.

Subresource integrity

To make sure that you are using the right code when loading from a CDN, you can use subresource integrity with the hash provided below:

    <script src="//unpkg.com/kinto@X.Y.Z/dist/kinto.min.js"
            integrity="sha384-<refer to the table below to retrieve the proper hash>"
            crossorigin="anonymous">
    </script>
Filename Hash (for version 12.2.1)
kinto.js sha384-ONu4crBmsMUPN59k5TBjbQeYHu/UPCXP/Vt0gfiuJkCX9ChB+N3zXJMel2BpJd38
kinto.min.js sha384-Erh7PcMgcp1rPZFzHiZ2TOxlKhF4qOynI4Dpo0lir8/M6KqlJGQgePjBi9DZ/50u
kinto.noshim.js sha384-LjeUkybNgampTEdCrhrA6XkmL23/I3Kkn0rS8LPXfjE7NdI6bA7cxj2zd2XjspbC