@ayonli/jsext

JavaScript extensions for modern app development with utilities and helpers.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

A JavaScript extension package for building strong and modern applications.

Examples

use modern string methods like capitalize and trim in your code$ import { capitalize } from '@ayonli/jsext/string'; console.log(capitalize('hello world'));
work with arrays using utility functions like chunk and flatten$ import { chunk } from '@ayonli/jsext/array'; console.log(chunk([1,2,3,4,5], 2));
handle async operations with promise utilities and helpers$ import { timeout } from '@ayonli/jsext/async'; await timeout(1000);
validate and transform data types safely in your application$ import { isObject } from '@ayonli/jsext/object'; console.log(isObject({}));
use functional programming helpers like pipe and compose$ import { pipe } from '@ayonli/jsext/function'; const add = (x) => x + 1; pipe(5, add);