strip-json-comments
npmv5.0.3TypeScriptStrip comments from JSON. Lets you use comments in your JSON files!
Overview
strip-json-comments is an npm package that strip comments from JSON. Lets you use comments in your JSON files!. The latest version is 5.0.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need strip comments from JSON. Lets you use comments in your JSON files! and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of strip-json-comments.
Dependencies
Dev (4)
Used by
Popular packages that depend on strip-json-comments.
Alternatives to strip-json-comments
Get and typecast environment variables.
Strip UTF-8 byte order mark (BOM) from a string
Get paths for storing things like data, config, cache, etc
Node.js path.parse() ponyfill
Check if the process is running inside a Docker container
Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST
Parse JSON with more helpful errors
Check if the process is running inside a container (Docker/Podman)
A collection of essential TypeScript types
Get the PATH environment variable key cross-platform
A querystring parser that supports nesting and arrays, with a depth limit
Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
TypeScript definitions for node
TypeScript execution environment and REPL for node.js, with source map support
Transpile JSX, TypeScript and esnext features on the fly with esbuild
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
the most correct and second fastest glob implementation in JavaScript
Generates and consumes source maps
Get details about the current Continuous Integration environment
No description provided.
No description provided.
Convert Windows backslash paths to slash paths
Version history
| Version | Published | License |
|---|---|---|
| 5.0.3latest | 11 months ago | MIT |
| 5.0.2 | 1 year ago | MIT |
| 5.0.1 | 3 years ago | MIT |
| 5.0.0 | 4 years ago | MIT |
| 4.0.0 | 4 years ago | MIT |
| 3.1.1 | 6 years ago | MIT |
| 3.1.0 | 6 years ago | MIT |
| 3.0.1 | 7 years ago | MIT |
| 3.0.0 | 7 years ago | MIT |
| 2.0.1 | 10 years ago | MIT |
| 2.0.0 | 10 years ago | MIT |
| 1.0.4 | 11 years ago | MIT |
| 1.0.3 | 11 years ago | MIT |
| 1.0.2 | 11 years ago | MIT |
| 1.0.1 | 12 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
| 0.1.3 | 12 years ago | MIT |
| 0.1.2 | 12 years ago | MIT |
| 0.1.1 | 12 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install strip-json-comments?
Run `npm install strip-json-comments` to add strip-json-comments to your npm project.
What license is strip-json-comments released under?
strip-json-comments is distributed under the MIT license.
How popular is strip-json-comments?
strip-json-comments has approximately 0 downloads per week and 1 known dependent packages.