jonschlinkert / global-prefix
Get the npm global path prefix. Same code used internally by npm.
☆29Updated 7 months ago
Alternatives and similar repositories for global-prefix:
Users that are interested in global-prefix are comparing it to the libraries listed below
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 7 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 8 months ago
- timers module for browserify☆24Updated 3 months ago
- Sink your streams.☆17Updated last year
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- The color cyan, in ansi.☆8Updated 6 years ago
- Returns true if a string has an extglob☆23Updated 5 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 7 months ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 3 months ago
- A ponyfill for Buffer.fill☆10Updated 6 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 5 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 7 years ago
- List of node.js builtin modules☆38Updated 11 months ago
- Create ansi colors by passing open and close codes.☆19Updated 11 months ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year
- Unpipe a stream from all destinations☆23Updated 4 years ago
- Run a child as if it's the foreground process. Give it stdio. Exit when it exits.☆40Updated 3 weeks ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Find the module object for something that was require()d☆27Updated last year
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Wrap a Readable stream in a Transform stream.☆10Updated last year
- fs read and write streams based on minipass☆20Updated 8 months ago
- Lo-dash's array-clice method. Slices `array` from the `start` index up to, but not including, the `end` index.☆21Updated 6 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Modern Buffer API polyfill without footguns☆25Updated 3 years ago