Strip comments from JSON. Lets you use comments in your JSON files!
☆623Aug 8, 2025Updated 7 months ago
Alternatives and similar repositories for strip-json-comments
Users that are interested in strip-json-comments are comparing it to the libraries listed below
Sorting:
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Find a file or directory by walking up parent directories☆634Sep 16, 2025Updated 6 months ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 6 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 6 months ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- Read and parse a JSON file☆248May 17, 2023Updated 2 years ago
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Like `chown -R`☆30Nov 24, 2025Updated 3 months ago
- Get the latest version of an npm package☆177Feb 27, 2024Updated 2 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated last month
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Check if a path exists☆155Mar 3, 2022Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Check if something is a Node.js stream☆115Oct 28, 2024Updated last year
- Check if a path is inside another path☆40Sep 11, 2025Updated 6 months ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 9 years ago
- Ensure a function is only called once☆165Feb 2, 2026Updated last month
- Resolve the path of a module like require.resolve() but from a given path☆145Jan 23, 2021Updated 5 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Strip comments from JSON. Lets you use comments in your JSON files!☆75Aug 7, 2023Updated 2 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated 2 months ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Detect the indentation of code☆200Feb 2, 2026Updated last month
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Oct 28, 2024Updated last year
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago