sindresorhus / is-installed-globally
Check if your package was installed globally
☆70Updated 10 months ago
Related projects: ⓘ
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated 10 months ago
- Check if your code is running as an npm or yarn script☆64Updated 2 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆90Updated last year
- Import a globally installed module☆57Updated 8 months ago
- Make a function mimic another one☆91Updated 4 months ago
- Exit the process when the `esc` key is pressed☆57Updated 9 months ago
- Check if argv has a specific flag☆90Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Ponyfill for Error#captureStackTrace☆61Updated last year
- Get the path of the parent module☆77Updated 10 months ago
- Get the path of the caller module☆64Updated 2 years ago
- A better `Promise.race()`☆45Updated last year
- Lazy number range generator☆82Updated 8 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 4 months ago
- Check if a path is a file, directory, or symlink☆75Updated last month
- Check if a URL is absolute☆77Updated 3 years ago
- Get the real path of the system temp directory☆81Updated last year
- Get namespaced config from the closest package.json☆120Updated 10 months ago
- Write a package.json file☆89Updated last month
- Filter object keys and values into a new object☆100Updated 3 months ago
- Check when the DOM has loaded like `DOMContentLoaded`☆108Updated 3 weeks ago
- Conditional promise chains☆59Updated 3 years ago
- Check if stdout or stderr is interactive☆115Updated 10 months ago
- Check if a value is a plain object☆101Updated 4 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Toggle the CLI cursor☆102Updated last month
- Wordwrap a string with ANSI escape codes☆119Updated 10 months ago