Ensures a value is a valid error by making it one if not
☆95Sep 15, 2025Updated last year
Alternatives and similar repositories for ensure-error
Users that are interested in ensure-error are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Modify the filename in a path☆17Updated this week
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Modify the values of an object☆28Updated this week
- Check if a path is the current working directory☆22Updated this week
- 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.
- Check if a path is inside another path☆40Updated this week
- Get the URL from a web shortcut file☆15Aug 14, 2021Updated 5 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 5 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 5 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 10 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Turn an object into a string of HTML attributes☆52Jun 28, 2026Updated 2 months ago
- Exit the process when the `esc` key is pressed☆58Dec 4, 2023Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Create a noop process and get the PID☆14Aug 10, 2021Updated 5 years ago
- Check if a file path is an archive file☆15Apr 30, 2024Updated 2 years ago
- Get namespaced config from the closest package.json☆117Updated this week
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Strip a path from a path☆18Aug 18, 2021Updated 5 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated last year
- Find multiple RegExp matches in a string☆90Updated this week
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 5 years ago
- Get the path of the current directory in Finder (macOS)☆16Apr 15, 2021Updated 5 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Strip a substring from the start/end of a string☆23Updated this week
- Extract the actual stack of an error☆67Updated this week
- Check if a value is an error constructor☆14Apr 7, 2021Updated 5 years ago
- Check if a path is a file, directory, or symlink☆81Updated this week
- Check if a value is a Blob☆24Updated this week
- Check if a file path is a binary file☆49Updated this week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Updated this week
- Get the iTerm2 version☆11Updated this week
- Check if a string is a URL☆86Updated this week
- 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.
- Regular expression for matching scoped npm package names☆28Updated this week
- Display an error in a GUI dialog☆22May 3, 2021Updated 5 years ago
- Modify the source of an imported module☆28Jan 23, 2021Updated 5 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 5 years ago
- Linkify GitHub issue references☆47Sep 11, 2025Updated last year
- Check if a string is a scoped npm package name☆25Updated this week