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
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 8 months ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 7 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
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 4 months ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- List of node.js builtin modules☆38Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 9 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- timers module for browserify☆24Updated 4 months ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Sink your streams.☆17Updated 2 years ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago
- Extract the username from a git remote origin URL.☆17Updated 7 years ago
- Find the module object for something that was require()d☆27Updated 2 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 7 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- Returns true if a string has an extglob☆23Updated 5 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated 4 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.☆14Updated 7 years ago
- fstream class for creating npm packages☆30Updated 7 years ago
- ☆37Updated last year
- Run a child as if it's the foreground process. Give it stdio. Exit when it exits.☆41Updated 2 months ago
- The color cyan, in ansi.☆8Updated 6 years ago
- Map `visit` over an array of objects.☆17Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Uses babel to extract JavaScript code comments from a string. Returns an array of comment objects, with line, column, index, comment type…☆14Updated 6 years ago
- Unpipe a stream from all destinations☆23Updated 4 years ago