CoreFunc
Please Note: This is not a production-ready package! Expect long stretches of zero updates—that does not mean that the module is outdated. This is "Don’t repeat yourself" collection. Yes, it's working fine, but it is not complete neither consistent. The files can move from folder to folder without warning. Everything is a "Work in Progress"!!!
Recommended usage for Tree Shaking
CommonJS
const bubbleSort = require("@corefunc/corefunc/array/sort/bubble.cjs");
bubbleSort([3, 1, 2]);
ECMAScript module
import bubbleSort from "@corefunc/corefunc/array/sort/bubble.mjs";
bubbleSort([3, 1, 2]);
TypeScript
import bubbleSort from "@corefunc/corefunc/array/sort/bubble";
bubbleSort([3, 1, 2]);
Discover more:
Also there is more useful links: