sindresorhus / dargs
Reverse minimist. Convert an object of options into an array of command-line arguments
☆185Updated 2 years ago
Alternatives and similar repositories for dargs:
Users that are interested in dargs are comparing it to the libraries listed below
- Find the closest package.json file☆162Updated last year
- Reliably get the terminal window size☆141Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Lazy number range generator☆81Updated last year
- Get your PATH prepended with locally installed binaries☆104Updated 4 months ago
- Like findup-sync, but 2-4x faster and supports XDG-style `.config/` directories.☆41Updated 5 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Create an error from multiple errors☆245Updated last year
- when you want to fire an event no matter how a process exits.☆190Updated last year
- Captures and cleans stack traces.☆193Updated last year
- Import a globally installed module☆58Updated last year
- Check if your package was installed globally☆70Updated last year
- Detect the indentation of code☆196Updated last year
- Get PID from a port☆79Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Write a package.json file☆88Updated 7 months ago
- Indent each line in a string☆113Updated 2 years ago
- Import all modules in a directory☆138Updated 2 years ago
- Read a package.json file☆165Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 6 months ago
- Compare, format, diff and serialize any JavaScript value☆209Updated 2 weeks ago
- Detect the dominant newline character of a string☆55Updated last year
- Simplified high resolution timing☆79Updated 6 months ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Brace expansion, as known from sh/bash, in JavaScript☆186Updated last year
- User-friendly glob matching CLI☆75Updated 6 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago