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