node package manager
Stop wasting time. Easily manage code sharing in your team. 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');