enaqx /
awesome-react
A collection of awesome things regarding React ecosystem
Loading repository data…
bnidev / repository
A collection of modern, typed JavaScript utility functions for working with arrays, DOM elements, objects, and timing.
A collection of modern, typed JavaScript utility functions for working with arrays, DOM elements, objects, and timing.
npm install @bnidev/js-utils
pnpm add @bnidev/js-utils
yarn add @bnidev/js-utils
import { debounceFn, flattenArray, deepClone } from "@bnidev/js-utils";
// Debounce any function
const log = (val: string) => console.log(val);
const debouncedLog = debounceFn(log, 300);
// Flatten nested arrays
flattenArray([1, [2, 3], [[4]], 5]); // → [1, 2, 3, 4, 5]
// Deep clone objects
const copy = deepClone({ a: { b: 1 } });
You can find the full documentation for all utility functions, including parameters and return types here: 👉 View full documentation
Generated automatically using TypeDoc.
Run lint and formatting checks:
pnpm run check
Run lint and formatting checks & autofix if possible:
pnpm run check:fix
Run tests with coverage report:
pnpm run test:coverage
Build the package:
pnpm run build
Generate docs:
pnpm run docs:build
Selected from shared topics, language and repository description—not editorial ratings.
enaqx /
A collection of awesome things regarding React ecosystem
oxc-project /
⚓ A collection of high-performance JavaScript tools.
SBoudrias /
A collection of common interactive command line user interfaces.
dzharii /
A collection of awesome TypeScript resources for client-side and server-side development. Write your awesome JavaScript in TypeScript
:books: collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book
toss /
A collection of TypeScript/JavaScript packages to build high-quality web services.