@baburikon/algorithms

npm i @baburikon/algorithms

Usage no npm install needed!

<script type="module">
  import baburikonAlgorithms from 'https://cdn.skypack.dev/@baburikon/algorithms';
</script>

README

Algorithms contemporary JS

Quickstart

npm i @baburikon/algorithms

babel.config.js

module.exports = {
  ignore: [/node_modules\/(?!@baburikon\/algorithms)/]
};

yourFile.js

import { sortQuick } from "@baburikon/algorithms";
const arr = [1, 3, 2];
sortQuick(arr);
console.log(arr);

sic!

node_modules/.bin/babel-node --ignore no yourFile.js