@welshman/lib
TypeScript icon, indicating that this package has built-in type declarations

0.0.26 • Public • Published

@welshman/lib version

Some general-purpose utilities used elsewhere in @welshman.

  • Deferred is just a promise with resolve and reject methods.
  • Emitter extends EventEmitter to support emitter.on('*', ...).
  • Fluent is a wrapper around arrays with chained methods that modify and copy the underlying array.
  • LRUCache is an implementation of an LRU cache.
  • Worker is an implementation of an asynchronous queue.
  • Tools is a collection of general-purpose utility functions.
  • Store is an implementation of svelte-like subscribable stores with extra features.

Readme

Keywords

none

Package Sidebar

Install

npm i @welshman/lib

Weekly Downloads

229

Version

0.0.26

License

MIT

Unpacked Size

165 kB

Total Files

47

Last publish

Collaborators

  • jstaab