If you find this useful, please consider supporting my work with a donation.
Momoa is a general purpose JSON utility toolkit for JavaScript and Rust. There are two different packages in this repository:
js
- the JavaScript packagerust
- the Rust crate
These two packages are not directly linked but they do produce the same AST and so they are kept in sync using a monorepo.
To work on Momoa, you'll need:
Make sure all three are installed by visiting the links and following the instructions to install.
Now you're ready to clone the repository:
git clone https://github.com/humanwhocodes/momoa.git
Follow the instructions in the README in each directory for how to work on that package.
This project takes inspiration (but not code) from a number of other projects:
Esprima
inspired the package interface and AST format.json-to-ast
inspired the AST format.parseJson.js
inspired me by showing writing a parser isn't all that hard.
Apache 2.0