Moved generic table tool with dependencies from sk-az-tools.

This commit is contained in:
2026-03-06 18:24:40 +01:00
parent e81b3f0933
commit 662f08114c
8 changed files with 736 additions and 0 deletions

View File

@@ -1,2 +1,34 @@
# SK Tools
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`, `parseHeaderSpec`)
- 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`