Transform JSON into JavaScript with elegance and type safety.
The language is still work in progress, so depending on the state of it right now, it wont be finished. Issues and bugs can be created at the Issues area in Github.
Ever wished JSON could do more? Monterey.js bridges the gap between static configuration and dynamic code. Write your logic in a familiar JSON format and let Monterey transform it into production-ready JavaScript.
βConfiguration as code, but make it JSONβ - thatβs Montereyβs philosophy.
Get up and running in seconds:
Hereβs how simple it is to use Monterey:
1οΈβ£ Create your Monterey file (hello.monjson
):
2οΈβ£ Transform it to JavaScript using the CLI:
π Type-Safe - Built with TypeScript for robust development
π JSON-Powered - Write in JSON, get JavaScript
π§© Extensible - Create custom transpilers for your needs
π‘οΈ Version Control - Built-in version compatibility checks
π¨ Modern Syntax - Clean, readable output code
π Schema Validation - Catch errors before they happen
Your Monterey files follow this intuitive structure:
Monterey provides clear, actionable error messages:
Code | Description |
---|---|
OUTDATED | Time to update Monterey |
INVALID_VERSION | Version mismatch |
TRANSPILE_ERROR | Transpilation failed |
BUILD_ERROR | Build process error |
INVALID_EXT | Wrong file extension |
NO_TRANSPILER | Transpiler not set |
FN_NOT_FOUND | File not found |
Contributions make Monterey better! Whether itβs:
π Fixing bugs
β¨ Adding features
π Improving docs
π¨ Enhancing design
All contributions are welcome! Check out our Contributing Guide to get started.
MIT Β© AbdullahCXD
Made with β€οΈ by AbdullahCXD