sindresorhus / esc-exitView external linksLinks
Exit the process when the `esc` key is pressed
☆58Dec 4, 2023Updated 2 years ago
Alternatives and similar repositories for esc-exit
Users that are interested in esc-exit are comparing it to the libraries listed below
Sorting:
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last week
- Sort an array of numbers☆18Sep 18, 2025Updated 4 months ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Aug 10, 2021Updated 4 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆86Sep 15, 2025Updated 4 months ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Mimic a Node.js HTTP response stream☆61Nov 5, 2023Updated 2 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- 🤖 A simple, modular, Discord bot ✨☆11Apr 19, 2023Updated 2 years ago
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- A streams2 Readable stream generator, useful for testing.☆15Mar 28, 2017Updated 8 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if your code is running in a JXA environment☆32Sep 18, 2021Updated 4 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Jul 8, 2022Updated 3 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆36Apr 30, 2024Updated last year
- 💰 Validates whether a given string is a currency, according to ISO 4217.☆14Nov 4, 2018Updated 7 years ago
- Split lines into an array of lines☆46Oct 30, 2023Updated 2 years ago
- Get or check the current macOS version☆62Aug 12, 2021Updated 4 years ago
- Check if a string is a URL☆87Jun 21, 2023Updated 2 years ago
- Regular expression for matching JavaScript comments☆32Jul 8, 2025Updated 7 months ago
- Get the name of a named function☆34Apr 7, 2021Updated 4 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Parse number from different locales☆12Dec 12, 2022Updated 3 years ago
- Get a random temporary file path☆81Jan 25, 2026Updated 2 weeks ago
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated 11 months ago
- Replace all substring matches in a string☆90Aug 9, 2021Updated 4 years ago
- Empty the Windows recycle bin☆14Jan 23, 2021Updated 5 years ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- 💳 A flexible, lightweight (1.5kB), non-dependant library to format payment card input fields.☆19May 18, 2018Updated 7 years ago
- Modern version of duplexer2☆16Oct 27, 2022Updated 3 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year