https://github.com/jokester/ts-commonutil
Common TypeScript utils
https://github.com/jokester/ts-commonutil
typescript utils
Last synced: 6 days ago
JSON representation
Common TypeScript utils
- Host: GitHub
- URL: https://github.com/jokester/ts-commonutil
- Owner: jokester
- Created: 2017-06-28T16:05:59.000Z (almost 8 years ago)
- Default Branch: canary
- Last Pushed: 2024-05-29T17:09:56.000Z (12 months ago)
- Last Synced: 2025-04-26T03:50:42.258Z (18 days ago)
- Topics: typescript, utils
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@jokester/ts-commonutil
- Size: 1020 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-commonutil
---
Simply and generic TypeScript utils.

[](https://codecov.io/gh/jokester/ts-commonutil)
[](https://badge.fury.io/js/%40jokester%2Fts-commonutil)## How to Use
install `@jokester/ts-commonutil` from NPM.
## Not included but my go-to libraries
- LRU: [lru-cache](https://www.npmjs.com/package/lru-cache)
- fp: [fp-ts](https://www.npmjs.com/package/fp-ts)
- React hooks
- [foxact](https://foxact.skk.moe/)## 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