Reverse minimist. Convert an object of options into an array of command-line arguments
☆187Sep 18, 2026Updated last month
Alternatives and similar repositories for dargs
Users that are interested in dargs are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated last month
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 5 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated last month
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated last month
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- Node's default require extensions as a separate module☆11Sep 18, 2026Updated last month
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Sep 18, 2026Updated last month
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 5 years ago
- Regular expression for matching reserved filename characters☆53Oct 7, 2026Updated 3 weeks ago
- Get configured proxy☆14Jul 21, 2017Updated 9 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.
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated last month
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Apply custom attributes to vinyl files☆14Nov 7, 2015Updated 10 years ago
- Lowercase the keys of an object☆42Sep 18, 2026Updated last month
- Check if a file path is a binary file☆49Sep 18, 2026Updated last month
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 3 years ago
- Check if a path is inside another path☆40Sep 18, 2026Updated last month
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆21Sep 18, 2026Updated last month
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated last month
- 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.
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated last month
- A through2 wrapper to create an Array.prototype.filter analog for streams☆34Sep 17, 2026Updated last month
- Get namespaced config from the closest package.json☆118Sep 18, 2026Updated last month
- Check if a path is in the current working directory☆23Sep 18, 2026Updated last month
- Get the version of a binary in semver format☆43Sep 18, 2026Updated last month
- Check if it's the first time the process is run☆83Sep 12, 2025Updated last year
- Regular expression for matching mapcodes☆19Jul 24, 2022Updated 4 years ago
- Check if a Buffer/Uint8Array is a TAR file☆13Oct 17, 2017Updated 9 years ago
- Create a vinyl file or stream from a buffer☆13Oct 17, 2017Updated 9 years ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated last month
- Get the path to the user home directory☆13Apr 9, 2021Updated 5 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 5 years ago
- Import a module like with `require()` but from a given path☆85Sep 18, 2026Updated last month
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated last month
- Reliably get the terminal window size☆149Sep 20, 2026Updated last month
- Check if argv has a specific flag☆95Sep 18, 2026Updated last month