An assortment of sleep-based operators to make your programs sleepier.
Or: sleepsort but for everything.
Code repository mirrors: GitHub, Codeberg, git.ardis.lu
Import the module:
import * as sleepy from 'https://cdn.jsdelivr.net/gh/ardislu/sleepy-operators/sleepy-operators.js';Import individual functions:
import { sort, sum } from 'https://cdn.jsdelivr.net/gh/ardislu/sleepy-operators/sleepy-operators.js';Dynamically import the module:
const sleepy = await import('https://cdn.jsdelivr.net/gh/ardislu/sleepy-operators/sleepy-operators.js');Dynamically import individual functions:
const { sort, sum } = await import('https://cdn.jsdelivr.net/gh/ardislu/sleepy-operators/sleepy-operators.js');