All kinds of code bricks for JavaScript
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
jspm install github:aureooms/js-library
# or
jspm install npm:aureooms-js-library
No install step needed for duo!
component install aureooms/js-library
bower install aureooms-js-library
ender add aureooms-js-library
jam install aureooms-js-library
spm install aureooms-js-library --save
npm install aureooms-js-library --save
let library = require( "github:aureooms/js-library" ) ;
// or
import library from 'aureooms-js-library' ;
let library = require( "aureooms/js-library" ) ;
let library = require( "aureooms-js-library" ) ;
The script tag exposes the global variable library
.
<script src="bower_components/aureooms-js-library/js/dist/library.min.js"></script>
Alternatively, you can use any tool mentioned here.
require( [ "aureooms-js-library" ] , function ( library ) { ... } ) ;