Skip to content

Releases: Cryptoteep/jsoncraft

v0.1.0 — Initial release

Choose a tag to compare

@Cryptoteep Cryptoteep released this 08 Jul 08:41

🎉 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)
  • Transformationspick, 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 jc command for the terminal

📦 Install

npm install jsoncraft

🚀 Quick start

jc query '$.store.book[*].author' examples/books.json
jc convert --to yaml examples/books.json
import { 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