@aureooms/js-merge-insertion-sort

sorting code bricks for JavaScript

Usage no npm install needed!

<script type="module">
  import aureoomsJsMergeInsertionSort from 'https://cdn.skypack.dev/@aureooms/js-merge-insertion-sort';
</script>

README

:person_fencing: @aureooms/js-merge-insertion-sort

Ford-Johnson algorithm for JavaScript. See docs. Parent is @aureooms/js-sort.

import { fordjohnson } from "@aureooms/js-merge-insertion-sort" ;
import { binarysearch } from "@aureooms/js-search" ;
import { swap } from "@aureooms/js-array" ;
const fj = fordjohnson( binarysearch ) ;
const sort = (compare, a, i, j) => fj(compare, swap, a, i, j) ;

License Version Build Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size