Parse JSON with more helpful errors
☆372Apr 9, 2025Updated last year
Alternatives and similar repositories for parse-json
Users that are interested in parse-json are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Easy error subclassing and stack customization☆66Sep 15, 2025Updated 8 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 3 months ago
- Read and parse a JSON file☆249May 17, 2023Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated 3 months ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 8 months ago
- Resolve the path of a module like require.resolve() but from a given path☆145Jan 23, 2021Updated 5 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆361Oct 28, 2024Updated last year
- Check if a file path is a binary file☆49Apr 30, 2024Updated 2 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 3 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a value is a plain object☆104May 4, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 8 months ago
- Repeat a string - fast☆35May 3, 2021Updated 5 years ago
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 8 months ago
- Get the values of an object☆27Jun 21, 2023Updated 2 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 4 years ago
- Find a file or directory by walking up parent directories☆640Sep 16, 2025Updated 8 months ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 5 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated last year
- Check if a path is in the current working directory☆23May 3, 2021Updated 5 years ago
- Get namespaced config from the closest package.json☆120Nov 5, 2023Updated 2 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 8 months ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 3 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Detect the indentation of code☆199Feb 2, 2026Updated 3 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Elegant spinner for interactive CLI apps☆227Sep 7, 2021Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆108Oct 28, 2024Updated last year
- Ensure a function is only called once☆167Feb 2, 2026Updated 3 months ago
- Promisify a callback-style function☆1,507Sep 12, 2022Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆205Updated this week