Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order. Example: First Pass: ( 5 1 4 2 8 ) –> ( 1 5 4 2 8 ), Here, algorithm compares the first two elements, and swaps sinc
Accepts an array of strings and returns an array representing a truth table. Symbols: '~': negation, '&': conjunction, '|': disjunction, '->': conditional, '==': biconditional
Buffered streaming HTTP fetch abstraction
A Utility library for competitive coding
A browser middleware for handling client side encryption prior to uploading to the cloud
This package is for educational purposes
A minimal parser for Mad Libs templates
return difference of array
A tiny inflate implementation (Modern ESM/TS version)
Byte handling.
Maps out pairs of elements in subarrays
A mini clone of the Lodash library.
Midi parser & player engine for browser or Node. Works well with single or multitrack MIDI files.
Takes the embed URL for a Google Slides presentation and outputs array with an SVG for each slide
Search item in container (arrays, arrays of objects, strings, numbers...). Return index, existence, object, repetitions... anything you want!
This is a collection of JavaScript utility functions written in a functional programming style. I just started this. It's still under construction. But what _is_ here is thoroughly tested. The code even contains mathematical proofs of correctness and
A utility library for working with promises
Chunks a string array based on string length.
An encoder that produces raw ALAC data from PCM data.
This lotide is written as a homework for Lighthouse Labs.
A package made for developers to use dsa without writing the entire code in their apps
A mini clone of the [Lodash](https://lodash.com) library.
A helper tool to auto complete command
Split an iterable into evenly sized chunks