Skip to main content
Works with
JSR Score
29%
Published
2 weeks ago (0.1.0)

ts-commonutil


Common TypeScript code I used in multiple app.

Check codecov npm version

How to Use

yarn add @jokester/ts-commonutil

Content

Algorithm / Graph

  • Fast multiplication on monoid
  • Directed graph

nodejs only

  • fs: promised version of node fs module
  • subprocess: start subprocess and capture stdout/stderr

Logging

  • console-logger
  • loglevel-logger
    • requires loglevel @types/loglevel
  • winston-logger (nodejs only)
    • requires winston @types/winston

Concurrency Control

  • Resource Pool

Text

Type Computation

  • deepFreeze

Util

  • LRU cache

License

MIT