Releases: Cryptoteep/jsoncraft
Releases · Cryptoteep/jsoncraft
Release list
v0.1.0 — Initial release
🎉 First public release of jsoncraft
A zero-dependency, TypeScript-first JSON toolkit for querying, transforming, and converting JSON data.
✨ What's included
- Query engine — practical JSONPath subset (filters, slices, wildcards, recursive descent)
- Transformations —
pick,omit,map,filter,renameKeys,flatten,unflatten,groupBy,sortBy,chunk,unique,clone - Format conversion — JSON ↔ YAML / CSV / JSONL / Properties / TOML
- Pretty printing — ANSI colors, key sorting, depth limiting, compact mode
- Diff & patch — structural deep diff with JSONPath locations
- Merge — configurable deep merge with array strategies
- Validation — tiny Zod-inspired schema validator with coercion
- CLI — friendly
jccommand for the terminal
📦 Install
npm install jsoncraft🚀 Quick start
jc query '$.store.book[*].author' examples/books.json
jc convert --to yaml examples/books.jsonimport { query } from 'jsoncraft';
query(data, '$..book[?(@.price < 10)].title');🌟 Highlights
- Zero runtime dependencies — only your runtime
- Runs everywhere — Node.js, Bun, Deno, browsers
- Strict TypeScript with full type inference
- MIT licensed
See the README for full docs.
Full Changelog: https://github.com/Cryptoteep/jsoncraft/blob/main/CHANGELOG.md