UNPKG

strip-json-comments

Version:

Strip comments from JSON. Lets you use comments in your JSON files!

61 lines (60 loc) • 1.05 kB
{ "name": "strip-json-comments", "version": "5.1.0", "description": "Strip comments from JSON. Lets you use comments in your JSON files!", "license": "MIT", "repository": "sindresorhus/strip-json-comments", "funding": "https://github.com/sponsors/sindresorhus", "author": "Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)", "type": "module", "exports": { "types": "./index.d.ts", "default": "./index.js" }, "sideEffects": false, "engines": { "node": ">=22" }, "scripts": { "test": "xo && node --test", "bench": "node benchmark.js" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "json", "strip", "comments", "remove", "delete", "trim", "multiline", "parse", "config", "configuration", "settings", "util", "env", "environment", "jsonc" ], "devDependencies": { "xo": "^5.0.1" }, "xo": [ { "ignores": [ "sample.json", "sample-big.json" ] }, { "rules": { "complexity": "off", "node-test/no-conditional-assertion": "off" } } ] }