comment-json
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "comment-json", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Parse and stringify JSON file with comments", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -104,2 +104,9 @@ [![NPM version](https://badge.fury.io/js/comment-json.svg)](http://badge.fury.io/js/comment-json) | ||
#### If you want to strip comments | ||
```js | ||
json.parse(code, null, true); | ||
// -> {a: 1} | ||
``` | ||
**TL;NR** | ||
@@ -106,0 +113,0 @@ |
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
21521
163