@ayonli/jsext
Version:
A JavaScript extension package for building strong and modern applications.
43 lines (42 loc) • 1.23 kB
TypeScript
import _try from "./try.ts";
import func from "./func.ts";
import once from "./once.ts";
import wrap from "./wrap.ts";
import mixin from "./mixin.ts";
import throttle from "./throttle.ts";
import debounce from "./debounce.ts";
import queue from "./queue.ts";
import lock from "./lock.ts";
import chan from "./chan.ts";
import parallel from "./parallel.ts";
import run from "./run.ts";
import deprecate from "./deprecate.ts";
import pipe from "./pipe.ts";
export * from "./types.ts";
/**
* The entry of jsext major functions.
*/
declare const jsext: {
/**
* @deprecated Import `_try` from `@ayonli/jsext/try` instead.
*/
_try: typeof _try;
/**
* @deprecated Import `_try` from `@ayonli/jsext/try` instead.
*/
try: typeof _try;
func: typeof func;
once: typeof once;
wrap: typeof wrap;
mixin: typeof mixin;
throttle: typeof throttle;
debounce: typeof debounce;
queue: typeof queue;
lock: typeof lock;
chan: typeof chan;
parallel: typeof parallel;
run: typeof run;
deprecate: typeof deprecate;
pipe: typeof pipe;
};
export { jsext as default, _try, func, once, wrap, mixin, throttle, debounce, queue, lock, chan, parallel, run, deprecate, pipe, };