$ npm install kinto --save
Read more about how to build Kinto.js in the Contributing section.
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:
- Dev version, including source maps: kinto-2.0.0.js
- Production version, minified, no source maps: kinto-2.0.0.min.js
- Minimalist version, without polyfills kinto-2.0.0.noshim.js
Only stable tags are released as dist files; if you plan on using latest versions from master, you need to build them manually.
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="//firstname.lastname@example.org/dist/kinto-2.0.0.min.js" integrity="sha384-aaty4B6Fzw+pZ9DbNdrlGsFu9f8x06+N0aCAXCn1QMpWVgB79PC9KSdWqqagm6E9" crossorigin="anonymous"> </script>