kyper-grout v0.2.10
Grout
Client library to simplify communication with Tessellate application building service.
Getting Started
Grout is isomorphic, so it can be used within a front-end or on a server. Below are options for setups:
NodeJS
Install:
npm install --save kyper-grout
Include and use
kyper-grout
:var Grout = require('kyper-grout'); var grout = new Grout();
ES6
Install:
npm install --save kyper-grout
Include and use
kyper-grout
:import Grout from 'kyper-grout'; let grout = new Grout();
Browser
Include the Grout library using one of the following:
CDN
Add script tag to index.html:
<script src="http://cdn.kyper.io/js/grout/latest/grout.js"></script>
Bower
Run
bower install --save kyper-grout
Then include the following in your index.html:<script src="./bower_components/kyper-grout/dist/grout.js"></script>
Begin using grout:
var grout = new Grout(); if(grout.isLoggedIn){ console.log('The currently logged in user is', grout.currentUser); } else { console.warn('Not logged into grout'); }
Documentation
API Documentation
Main Wiki
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago