Skip to content

data-structures-and-algorithms/splitting

Folders and files

NameName
Last commit message
Last commit date
Feb 16, 2017
Feb 16, 2017
Apr 27, 2017
May 28, 2015
Oct 8, 2014
Oct 8, 2014
Jun 28, 2015
May 28, 2015
Oct 8, 2014
Apr 26, 2021
Apr 26, 2021
Jun 28, 2015
Apr 22, 2015
Apr 26, 2021
Jun 28, 2015

Repository files navigation

Splitting code bricks for JavaScript. Parent is aureooms/js-algo.

let pivot = splitting.hoare( predicate , array , left , right ) ;

for ( let k of itertools.range(  left , pivot , 1 ) ) predicate( array[k] ) ; // 0
for ( let k of itertools.range( pivot , right , 1 ) ) predicate( array[k] ) ; // 1

License NPM version Bower version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Inline docs

Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.

Install

jspm

jspm install github:aureooms/js-splitting
# or
jspm install npm:@aureooms/js-splitting

duo

No install step needed for duo!

component

component install aureooms/js-splitting

bower

bower install @aureooms/js-splitting

ender

ender add @aureooms/js-splitting

jam

jam install @aureooms/js-splitting

spm

spm install @aureooms/js-splitting --save

npm

npm install @aureooms/js-splitting --save

Require

jspm

let splitting = require( "github:aureooms/js-splitting" ) ;
// or
import splitting from '@aureooms/js-splitting' ;

duo

let splitting = require( "aureooms/js-splitting" ) ;

component, ender, spm, npm

let splitting = require( "@aureooms/js-splitting" ) ;

bower

The script tag exposes the global variable splitting.

<script src="bower_components/@aureooms/js-splitting/js/dist/splitting.min.js"></script>

Alternatively, you can use any tool mentioned here.

jam

require( [ "@aureooms/js-splitting" ] , function ( splitting ) { ... } ) ;

Packages

No packages published