0.4.2 • Published 7 years ago

aerie v0.4.2

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

#aerie

An ultra-simple utility to handle nested JSON files.

Current usage: Setting

const aerie = require('aerie')

aerie('some.dir.file.item', 'value')

...which would result in ./some/dir/file.json being parsed, and having it's "item" property assigned "value".

Getting

const aerie = require('aerie')

aerie('some.dir.file.item')

...which will return "value" (per the previous example).

There is a CLI version of this included as cli.js

##TODO The ultimate desire is to incorporate these calls into template literal tags to create a JSON DSL. For now it roughly meets my needs as is.

Desired syntax:

const aerie = require('aerie')

aerie\`Pointless text _PUNC${some_val} and _END\`

...or something like that.

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago