Parse yes/no like values
☆275Sep 18, 2026Updated last month
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:
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated last month
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- Check if it's the first time the process is run☆83Sep 12, 2025Updated last year
- Toggle the CLI cursor☆115Sep 18, 2026Updated last month
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated last month
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Sep 18, 2026Updated last month
- Gracefully restore the CLI cursor on exit☆42Sep 18, 2026Updated last month
- Get the first path that exists on disk of multiple paths☆64Sep 18, 2026Updated last month
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Sep 18, 2026Updated last month
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Modify the values of an object☆28Sep 18, 2026Updated last month
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated last month
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Check if a file path is a text file☆21Sep 18, 2026Updated last month
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Sep 18, 2026Updated last month
- Pretty UTC datetime: `2014-01-09 0601`☆31Sep 18, 2026Updated last month
- Check if something is a generator function☆24Sep 18, 2026Updated last month
- Check if a path exists☆155Sep 18, 2026Updated last month
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Create an array without duplicates☆74Sep 18, 2026Updated last month
- Check if a value is a regular expression☆26Sep 18, 2026Updated last month
- Lax URL parsing with support for protocol-less URLs and IPs☆54Sep 18, 2026Updated last month
- 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.
- Check if a value is an object☆42Sep 18, 2026Updated last month
- Check if the process is running as root user, for example, one started with `sudo`☆79Sep 18, 2026Updated last month
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Sep 15, 2025Updated last year
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated last month
- Truncate a string to a specific width in the terminal☆98Oct 31, 2026Updated last week
- Get the first fulfilled promise that satisfies the provided testing function☆82Sep 18, 2026Updated last month
- Create an array of unique values, in order, from the input arrays☆79Sep 18, 2026Updated last month
- Update notifications for your CLI app☆1,812Jul 25, 2026Updated 3 months ago
- Find the root directory of a Node.js project or npm package☆254Sep 18, 2026Updated last month
- 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.
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 5 years ago
- Humanize a URL: https://sindresorhus.com → sindresorhus.com☆253Sep 18, 2026Updated last month
- Check if a path is a file, directory, or symlink☆81Sep 18, 2026Updated last month
- Copy files☆440Sep 1, 2026Updated 2 months ago
- Exit the process when the `esc` key is pressed☆59Dec 4, 2023Updated 2 years ago
- Make a directory and its parents if needed - Think `mkdir -p`☆481Sep 18, 2026Updated last month
- Pluck a property out of an object in an Array.prototype callback☆14Jul 12, 2016Updated 10 years ago