37 lines
838 B
Markdown
37 lines
838 B
Markdown
# SK Tools
|
|
|
|
[](https://gitea.koszewscy.waw.pl/slawek/sk-tools/actions?workflow=build.yml)
|
|
|
|
Generic utilities shared across Slawek's tool packages.
|
|
|
|
## Scope
|
|
|
|
This package hosts non-domain-specific utilities that can be reused by CLI and library packages.
|
|
|
|
Current exported areas:
|
|
|
|
- Markdown table rendering (`toMarkdownTable`)
|
|
- Output helpers for CLI tools (`renderOutput`, `normalizeOutputFormat`, `parseColumnSpec`)
|
|
- Input readers for stdin (`readJsonFromStdin`, `readCsvFromStdin`)
|
|
- JMESPath output filtering (`outputFiltered`)
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npm install @slawek/sk-tools
|
|
```
|
|
|
|
## Development
|
|
|
|
```bash
|
|
npm install
|
|
npm run build
|
|
```
|
|
|
|
## Exports
|
|
|
|
- `@slawek/sk-tools`
|
|
- `@slawek/sk-tools/markdown`
|
|
- `@slawek/sk-tools/cli/utils`
|
|
|