> For the complete documentation index, see [llms.txt](https://jliocsar.gitbook.io/jstr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jliocsar.gitbook.io/jstr/introduction.md).

# Introduction

**JS**ON S**tr**ingifier (`jstr`, pronounced as *jester*) is a CLI tool built with JavaScript + [`ts-belt`](https://mobily.github.io/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.

### Need more fuel :coffee:

This project is **active** and ***not*****&#x20;funded**, feel free to sponsor it if you enjoy and feel like it:

[![BuyMeACoffee](https://www.buymeacoffee.com/assets/img/custom_images/purple_img.png)](https://www.buymeacoffee.com/jliocsar)
