sindresorhus / is-npm-cli
Check if your code is running as an npm script
☆55Updated 3 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
- Simplify eslint rules by visiting templates☆20Updated 2 years ago
- Get the version of a binary in semver format☆35Updated 11 months ago
- Split a string on the first occurrence of a given separator☆75Updated 2 years ago
- Provide a package name, get a list of every version, and who published it.☆24Updated 9 months ago
- Cross-platform `/dev/null`☆92Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- ☆17Updated 4 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Check if a project is using Yarn☆66Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- A safer `.hasOwnProperty()`☆29Updated last year
- PNG decoding for Node.js, using LodePNG compiled to WebAssembly☆37Updated 2 years ago
- Check if stdout or stderr is interactive☆116Updated last year
- Check if a path is inside another path☆37Updated 2 years ago
- Let's get some bad javascript examples.☆28Updated 5 years ago
- Linkify GitHub issue references☆46Updated 5 months ago
- Simple wildcard matching☆34Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Mimic a Node.js HTTP response stream☆59Updated last year
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆74Updated last month
- Check if a string is a URL☆85Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- List of JavaScript types☆82Updated 10 months ago
- Add XO to your project☆47Updated last year
- A Set implementation with expirable keys☆16Updated 6 years ago