Package Exports
- shush
- shush/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (shush) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
shush
Hush up those JSON comments.
shush is a simple node module that allows JSON files containing comments to be read into
a module using a require-like syntax.
/* jsonWithComments.js */
{
// a property
"myProp": "isCool"
}// foo.js
var shush = require('shush'),
config = shush('./jsonWithComments');
console.log(config); // {"myProp": "isCool"}Forthcoming feature: streaming.