comment-json
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "comment-json", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Parse and stringify JSON file with comments", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,2 +31,3 @@ [![NPM version](https://badge.fury.io/js/comment-json.svg)](http://badge.fury.io/js/comment-json) | ||
var json = require('comment-json'); | ||
var fs = require('fs'); | ||
var obj = json.parse(fs.readFileSync('package.json').toString()); | ||
@@ -33,0 +34,0 @@ console.log(obj); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21215
154