node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

jsonic-ometajs

jsonic-ometajs

A JSON parser that also accepts C-style comments.

Use

var jsonic = require('jsonic-ometajs');
var val = jsonic.parse('/* Comment */{ "Hello": "World" }\n// Hi');