Skip to main content
Home
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
29%
Published
a year 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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.