Parse JSON with more helpful errors
☆372Apr 9, 2025Updated 10 months ago
Alternatives and similar repositories for parse-json
Users that are interested in parse-json are comparing it to the libraries listed below
Sorting:
- Easy error subclassing and stack customization☆66Sep 15, 2025Updated 5 months ago
- Read and parse a JSON file☆248May 17, 2023Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated last month
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Resolve the path of a module like require.resolve() but from a given path☆145Jan 23, 2021Updated 5 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 5 months ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Find a file or directory by walking up parent directories☆634Sep 16, 2025Updated 5 months ago
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Get the values of an object☆27Jun 21, 2023Updated 2 years ago
- Detect the indentation of code☆200Feb 2, 2026Updated last month
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Elegant spinner for interactive CLI apps☆226Sep 7, 2021Updated 4 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 4 years ago
- Ensure a function is only called once☆165Feb 2, 2026Updated last month
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Filter object keys and values into a new object☆105May 27, 2024Updated last year
- Read the closest package.json file☆268Nov 7, 2025Updated 3 months ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Promisify a callback-style function☆1,514Sep 12, 2022Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆204Jan 21, 2026Updated last month
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago