ABOS
A better object syntax
Installation
NPM
npm install abos --save
Yarn
yarn add abos
Globally
npm install abos -g
yarn global add abos
Run
abos file.abos [--dry-run]
Require
const abos = ;; //eg. file.json or "{stringified json}" or json object
Import
;; //eg. file.json or "{stringified json}" or json object
What does it solve?
With this module your json becomes self-conscious so you can use @top (Root of JSON), @parent (Parent of current scope) or @this (Current scope).
Demo
Resolves to