A lightweight JavaScript client for browser-based and Node-based Cettia applications
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.babelrc
.gitattributes
.gitignore
.npmignore
.travis.yml
CONTRIBUTING.md
Gruntfile.js
LICENSE
README.md
cettia-browser.js
cettia-browser.min.js
cettia-bundler.js
cettia.js
package.json
webstorm-cettia-style.xml

README.md

Cettia JavaScript Client

Travis npm GitHub license

Cettia JavaScript Client is a lightweight JavaScript client for browser-based and Node-based application.

For more information on the project, please see the website.

Using with Node...

To require the code for a browser bundle:

$ npm install --save cettia-client
// es6 import
import cettia from 'cettia-client';

// or require
var cettia = require('cettia-client');

Using with bundlers webpack/browserify/etc...

To require the code for a browser bundle:

NPM install

$ npm install --save cettia-client
// es6 import
import cettia from 'cettia-client/cettia-bundler';

// or require
var cettia = require('cettia-client/cettia-bundler');

Using in an embedded script tag

Copy the cettia-browser.min.js file from this repo into your project's public folder.

<script src="path/to/cettia/cettia-browser.min.js" />