Introduction

Powerful CLI tool to parse JSON files

JSON Stringifier (jstr, pronounced as jester) is a CLI tool built with JavaScript + ts-belt to easily parse and manipulate JSON strings or files.

It was built when I first had the necessity of JSON methods from JavaScript without creating a script file, so I could copy & paste those JSON values one file to another.

I coded the first POC in ~1 hour without any library and it already had its main premise: using pure JS to interact with JSON files, rather than having to learn new languages or library-specific BS to use such a simple concept.

The command accepts a JavaScript callback function to parse/select/modify data structures within your JSON if necessary: follow the examples below, write JS and have fun!

TL;DR This is a JSON.parse/stringify wrapper focused in CLI commands rather than JS scripts.

This project is active and not funded, feel free to sponsor it if you enjoy and feel like it:

Last updated