sindresorhus / is-npm
Check if your code is running as an npm or yarn script
☆64Updated 3 years ago
Alternatives and similar repositories for is-npm:
Users that are interested in is-npm are comparing it to the libraries listed below
- Lazy number range generator☆82Updated last year
- Check if your package was installed globally☆70Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Stylelint shareable config for XO☆41Updated 7 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Node.js releases data☆36Updated last week
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Scaffold out a CLI based on Ink☆25Updated 6 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆80Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Make a function mimic another one☆93Updated 2 months ago
- Import a globally installed module☆57Updated last year
- Image component for Ink☆75Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 7 months ago
- Check if something is a promise☆46Updated 3 years ago
- Check if a project is using Yarn☆66Updated 3 years ago
- Check if a path is a file, directory, or symlink☆77Updated 5 months ago
- Simple wildcard matching☆34Updated 3 years ago