jonschlinkert / global-prefix
Get the npm global path prefix. Same code used internally by npm.
☆29Updated 8 months ago
Alternatives and similar repositories for global-prefix
Users that are interested in global-prefix are comparing it to the libraries listed below
Sorting:
- timers module for browserify☆24Updated 4 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 8 years ago
- Extract the username from a git remote origin URL.☆17Updated 7 years ago
- 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
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 9 months ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 7 years ago
- A ponyfill for Buffer.from☆24Updated 3 years ago
- List of node.js builtin modules☆38Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 5 years ago
- fstream class for creating npm packages☆30Updated 8 years ago
- Sink your streams.☆17Updated 2 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 7 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year
- Returns true if a string has an extglob☆23Updated 5 years ago
- Wrap all spawned Node.js child processes by adding environs and arguments ahead of the main JavaScript file argument.☆38Updated last year
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Find the module object for something that was require()d☆27Updated 2 years ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 5 months ago
- Get the set npm registry URL☆55Updated last month
- Get the list of npm modules that depend on the specified npm module.☆15Updated 7 years ago
- The color cyan, in ansi.☆8Updated 6 years ago
- A ponyfill for Buffer.fill☆10Updated 6 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Modern Buffer API polyfill without footguns☆25Updated 4 years ago
- Lo-dash's array-clice method. Slices `array` from the `start` index up to, but not including, the `end` index.☆21Updated 7 years ago
- Create ansi colors by passing open and close codes.☆19Updated last year
- Run a child as if it's the foreground process. Give it stdio. Exit when it exits.☆41Updated 2 months ago