Parse yes/no like values
☆274Aug 22, 2025Updated 8 months ago
Alternatives and similar repositories for yn
Users that are interested in yn are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 7 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Toggle the CLI cursor☆114Jul 26, 2024Updated last year
- Pretty UTC datetime: `2014-01-09 0601`☆32Jul 8, 2022Updated 3 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.
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Modify the values of an object☆28Sep 10, 2021Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Feb 19, 2023Updated 3 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated 3 months ago
- Copy a file☆123Aug 13, 2025Updated 8 months ago
- Get the passwd user entry from a username or uid☆31Jul 9, 2022Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 7 months ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Parse milliseconds into an object☆125May 4, 2024Updated 2 years ago
- IRC + Hypercore Standup bot☆13Jul 11, 2017Updated 8 years ago
- Check if a path exists☆156Mar 3, 2022Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆250Feb 1, 2026Updated 3 months ago
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 4 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.
- Get the first fulfilled promise that satisfies the provided testing function☆79Feb 3, 2026Updated 3 months ago
- Find a file or directory by walking up parent directories☆638Sep 16, 2025Updated 7 months ago
- Split a string on the first occurrence of a given separator☆73Aug 20, 2025Updated 8 months ago
- Check whether a package or organization name is available on npm☆174Feb 2, 2026Updated 3 months ago
- Copy files☆435Feb 12, 2026Updated 2 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 3 months ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 3 months ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated 2 years ago
- Get the hash of a string☆68Feb 5, 2022Updated 4 years 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.
- Create an array of unique values, in order, from the input arrays☆78Mar 1, 2021Updated 5 years ago
- Get free disk space info from `df -kP`☆65Sep 13, 2025Updated 7 months ago
- Create an array without duplicates☆74May 3, 2021Updated 5 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆159Sep 17, 2025Updated 7 months ago
- Measure the time a promise takes to resolve☆74Nov 5, 2023Updated 2 years ago
- Get the resolved path to the root of a package installed in node_modules☆11Jan 18, 2024Updated 2 years ago
- Delay execution for a given amount of seconds☆85Nov 2, 2025Updated 6 months ago