Check if your code is running as an npm script
☆56Sep 18, 2021Updated 4 years ago
Alternatives and similar repositories for is-npm-cli
Users that are interested in is-npm-cli are comparing it to the libraries listed below
Sorting:
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Get the version of a binary in semver format☆36Apr 3, 2024Updated last year
- Move a file on the command-line☆74May 14, 2023Updated 2 years ago
- Check if your code is running as an npm or yarn script☆66Sep 10, 2025Updated 5 months ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Create a readable Node.js stream that produces no data (or optionally blank data) or a writable stream that discards data☆53May 27, 2023Updated 2 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Simple wildcard matching☆34Sep 15, 2025Updated 5 months ago
- ☆13Aug 11, 2021Updated 4 years ago
- Check if an app exists on macOS☆78Nov 2, 2021Updated 4 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 4 years ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Kap plugin - Export to high-quality GIFs using Gifski☆74Jan 23, 2021Updated 5 years ago
- Check if stdout or stderr is interactive☆119Nov 6, 2023Updated 2 years ago
- Alfred workflow to control the Plash app☆30Nov 4, 2023Updated 2 years ago
- Get the default browser☆28Dec 19, 2023Updated 2 years ago
- Check whether a binary version satisfies a semver range☆15Apr 3, 2024Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆18Aug 9, 2021Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 3 months ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Try to downgrade the permissions of a process with root privileges☆17Aug 31, 2023Updated 2 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Sum numbers☆10Sep 18, 2025Updated 5 months ago
- Cooperative get-port implementation☆10Jul 10, 2022Updated 3 years ago
- Get supervillain names on the command-line☆39Apr 30, 2024Updated last year
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Detect whether the terminal supports Unicode☆88Sep 9, 2024Updated last year
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Linkify GitHub issue references☆47Sep 11, 2025Updated 5 months ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated 5 months ago
- Notifications hub☆12Feb 16, 2020Updated 6 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago