npm.io
0.1.21 • Published 8 years ago

relution-sdk

Licence
Apache License
Version
0.1.21
Deps
19
Vulns
1
Weekly
0
Stars
6

Relution SDK

NPM version Dependency Status Download Month

Docs

https://relution.readme.io/docs/relution-sdk

Installation and Usage

ES6 via npm
npm install relution-sdk --save

To import the entire core set of functionality:

Notice Relution SDK is lazy loaded

import * as Relution from 'relution-sdk';

Relution.init ....

To import only what you need by patching :

import {web} from 'relution-sdk/web';

Relution.web. ....
ES5 via bower
bower install relution-sdk --save
<script src="{{Your path to your bower_components}}/relution-sdk/browser.js"></script>
Relution.init ....

read more about Relution SDK.

Dev Guide

Installation for development
$: git clone git@github.com:relution-io/relution-sdk.git
$: cd relution-sdk 
$: npm i
$: npm run watch
Build browser js
npm run browserify
Test
$: npm test
Api reference
$: npm run api