Skip to content

jokester/ts-commonutil

Repository files navigation

ts-commonutil


Simply and generic TypeScript utils.

Check codecov npm version

How to Use

install @jokester/ts-commonutil from NPM.

Not included but my go-to libraries

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