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
- Get the version of a binary in semver format☆35Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Provide a package name, get a list of every version, and who published it.☆24Updated 9 months ago
- Check if a string is a URL☆85Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Simplify eslint rules by visiting templates☆20Updated 2 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago
- Linkify GitHub issue references☆46Updated 6 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Use `npx aud` instead of `npm audit`, whether you have a lockfile or not!☆26Updated 8 months ago
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- Add XO to your project☆47Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Easy state handling of state updates☆14Updated 7 years ago
- A tiny (330B to 357B) and fast utility to find a package's hidden supply / cache directory.☆34Updated 4 years ago
- Split a string on the first occurrence of a given separator☆75Updated 2 years ago
- List of JavaScript types☆82Updated 11 months ago
- Detect whether a terminal emulator supports hyperlinks☆56Updated 2 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- A babel preset that produces smallest possible code.☆40Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- User-friendly pseudorandom number generator (PRNG)☆107Updated 3 years ago
- ESLint shareable config for Flow to be used with eslint-config-xo☆24Updated 3 years ago
- A tiny Node.js microservice to detect the language of a code snippet☆21Updated 4 years ago
- ☆17Updated 4 years ago
- Cross-platform `/dev/null`☆92Updated 3 years ago
- Simple wildcard matching☆34Updated 3 years ago