node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

ding

ding

DIgital laNGuage reader. (.ding)

License

http://creativecommons.org/licenses/by/3.0/

Usage

var language = (new require("ding"))("./path/to/dings").get();
 
console.log(language.en.hi)
console.log(language.en.baz.foo)
#en.ding
hi Hello, World!
 
!baz
foo bar

new Ding(directory, callback) / .load(directory, callback)

Callback is optional, becomes asynchronous if present

.get(set)

Set is optional, returns all if not present