0.0.11 • Published 9 years ago

lazy-json v0.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

lazy-json Build Status

lazy-json makes it happen to require JSON file with comments in it.

It's awesome for lazy-json to work with Atom plugin language-json-comments!

Install

npm install --save lazy-json

Example

// test.lazy.json
{
  // here is my comments
  "github": "oriented programming"
  /* things all done
  ** go home
  */
}

// usage
import { requireJSON } from 'lazy-json'
const obj = requireJSON('./test.lazy')
console.log(obj.github)

Related

License

MIT © EGOIST