systemic-ts-utils
v0.2.6
Published
Paraphernalia to facilitate writing [Systemic TypeScript](https://valand.dev/systemic-ts) code.
Downloads
10
Readme
Systemic TS Utils
Paraphernalia to facilitate writing Systemic TypeScript code.
Separated Imports
All modules are available under "." exports.
import * as SystemicTsUtils from "systemic-ts-utils"However, separate modules are also provided to make it easy to tree-shake, and so on:
systemic-ts-utils/async-utils: Currently only containssleep, aPromisewrapper forsetTimeoutsystemic-ts-utils/destruction: Alleviate the absence ofdestructorin JavaScriptsystemic-ts-utils/erpromise: Externally Resolvable/Rejectable Promise and Abortablessystemic-ts-utils/iter-cell: IteratorCell, an immutable container for mutable Set, Map, and Array.systemic-ts-utils/lock: Various locks for working with concurrent operations.systemic-ts-utils/obs: Simple typed event emitter and pipe objectssystemic-ts-utils/purge-memo: Memoized function and manual purgingsystemic-ts-utils/valcon: Simple and/or observable value container
// For example:
import * as Locks from "systemic-ts-utils/lock"