Work with JavaScript and prismic.io

We provide a JavaScript library with no required dependency that you can use to build any JavaScript-based projects, wether server or client side.

You can find the latest binary version in our repository:

https://raw.github.com/prismicio/javascript-kit/master/dist/prismic.io-1.0.7.min.js

(you may need to adapt the version number, all the versions are listed here)

Kit's source code and documentation

Please check the JavaScript Kit GitHub repository for source code, documentation and to report issues:

javascript-kit

javascript-kit - Development kit for the Javascript language

Client side project template using JQuery

You can use this JavaScript Kit along with JQuery to create a client side application that lives in your browser and consumes any prismic.io repository.

We have a ready to use Starter Project that you can connect to any repository to bootstrap your application:

javascript-jquery-starter

javascript-jquery-starter - Starter project for JavaScript & JQuery – Works with any prismic.io repository

Single page application using BackboneJS

We have also created a more sophisticated Starter Project for advanced single page client side application, using BackboneJS. Again, you can connect to any repository to bootstrap your application:

javascript-backbone-starter

javascript-backbone-starter - Starter project for Javascript, BackboneJS – Works with any prismic.io repository

We also have a complete « Les Bonnes Choses » example built as a client side single page app using BackboneJS, you can look at:

javascript-backbone-lesbonneschoses

javascript-backbone-lesbonneschoses - «Les Bonnes Choses», French delicious pastries – JavaScript, BackboneJS version

Work with JavaScript and NodeJS

You can use the JavaScript Kit along with NodeJS to create JavaScript server side application that consumes a prismic.io repository.

We have created a starter project using express as application framework, that you can connect to any repository to bootstrap your application:

javascript-nodejs-starter

javascript-nodejs-starter - Starter project for NodeJS – Works with any prismic.io repository

We also have a complete « Les Bonnes Choses » example built using NodeJS:

javascript-nodejs-lesbonneschoses

javascript-nodejs-lesbonneschoses - «Les Bonnes Choses», French delicious pastries – JavaScript, NodeJS version

Close

Sign up now

You’ll be up and running in less than a minute