0.1.2 • Published 9 years ago
aureooms-js-graph-sugar v0.1.2
js-graph-sugar
Graph syntactic sugar code bricks for JavaScript
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
Install
jspm
jspm install github:aureooms/js-graph-sugar
# or
jspm install npm:aureooms-js-graph-sugar
duo
No install step needed for duo!
component
component install aureooms/js-graph-sugar
bower
bower install aureooms-js-graph-sugar
ender
ender add aureooms-js-graph-sugar
jam
jam install aureooms-js-graph-sugar
spm
spm install aureooms-js-graph-sugar --save
npm
npm install aureooms-js-graph-sugar --save
Require
jspm
let graphsugar = require( "github:aureooms/js-graph-sugar" ) ;
// or
import graphsugar from 'aureooms-js-graph-sugar' ;
duo
let graphsugar = require( "aureooms/js-graph-sugar" ) ;
component, ender, spm, npm
let graphsugar = require( "aureooms-js-graph-sugar" ) ;
bower
The script tag exposes the global variable graphsugar
.
<script src="bower_components/aureooms-js-graph-sugar/js/dist/graph-sugar.min.js"></script>
Alternatively, you can use any tool mentioned here.
jam
require( [ "aureooms-js-graph-sugar" ] , function ( graphsugar ) { ... } ) ;