sindresorhus / package-directory-cliLinks
Find the root directory of a Node.js project or npm package
☆26Updated 2 months ago
Alternatives and similar repositories for package-directory-cli
Users that are interested in package-directory-cli are comparing it to the libraries listed below
Sorting:
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆18Updated 4 years ago
- Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s☆29Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 3 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆21Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Get user info of an npm user☆31Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Find a file by walking up parent directories☆42Updated last year
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Check if a path exists☆23Updated last year
- Convert matching double-quotes to single-quotes: I "love" unicorns → I 'love' unicorns☆26Updated 4 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Updated 4 years ago
- Display a notification (macOS 10.9+)☆88Updated 4 years ago
- Sort an array of numbers☆17Updated 6 months ago
- Get the path to an app (macOS)☆63Updated 3 years ago
- Get the path to this package - Useful for testing☆21Updated 4 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Detect the indentation of code☆22Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆26Updated last year
- Get the visual width of a string - the number of columns required to display it☆13Updated last year
- Control the AnyBar app☆33Updated 4 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆35Updated 4 years ago
- Check if a value is a function☆27Updated 4 years ago
- Pick random items from a list☆15Updated 4 years ago
- Remove leading, trailing and repeated whitespace from a string☆39Updated 4 years ago
- Get the user's default shell☆40Updated 3 years ago