Graph syntactic sugar code bricks for JavaScript.
G.eadd( "a" , "b" ) ;
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
jspm install github:aureooms/js-graph-sugar
# or
jspm install npm:@aureooms/js-graph-sugar
No install step needed for duo!
component install aureooms/js-graph-sugar
bower install @aureooms/js-graph-sugar
ender add @aureooms/js-graph-sugar
jam install @aureooms/js-graph-sugar
spm install @aureooms/js-graph-sugar --save
npm install @aureooms/js-graph-sugar --save
let graphsugar = require( "github:aureooms/js-graph-sugar" ) ;
// or
import graphsugar from '@aureooms/js-graph-sugar' ;
let graphsugar = require( "aureooms/js-graph-sugar" ) ;
let graphsugar = require( "@aureooms/js-graph-sugar" ) ;
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.
require( [ "@aureooms/js-graph-sugar" ] , function ( graphsugar ) { ... } ) ;