Packages
Comaintainers
62 packages
aliases-from-tsconfig
Reads a jsconfig/tsconfig.json baseUrl and paths and provides a methods to replace its aliases in your files paths.
@bitty/animate
Create and manage animation functions with AnimationFrame API.
@bitty/create-request
Apply interceptors in `fetch` to create a custom request functions.
@bitty/deferred
It provides a function to create Deferred objects. They contains a Promise and methods to imperatively resolve or reject it.
@bitty/either
Either monad implementation.
@bitty/event-emitter
Listen and emit events without dirty your classes, objects and functions with EventEmitter interface.
@bitty/falsy
Falsy helper functions and types for TypeScript.
@bitty/format-date
A small library (around 400 B when gziped & minified) to format JavaScript `Date` object using same tokens as moment.
@bitty/get
A really small and type-safe (requires TypeScript >= 4.1.3) function, that gets a nested value from an object using a path string (like 'a.b[0].d'). If value is 'undefined' or unreachable returns the placeholder instead.
@bitty/insist
Insistently runs a callback and only resolves the promise when its result is truthy.