jonschlinkert / global-prefix
Get the npm global path prefix. Same code used internally by npm.
☆28Updated last month
Related projects: ⓘ
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last month
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 5 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 7 years ago
- timers module for browserify☆24Updated 3 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 7 years ago
- Sink your streams.☆17Updated last year
- Modern Buffer API polyfill without footguns☆26Updated 3 years ago
- List of node.js builtin modules☆38Updated 5 months ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated last year
- Returns true if a string has an extglob☆22Updated 5 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 2 years ago
- fs read and write streams based on minipass☆21Updated 2 months ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated 11 months ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆23Updated last year
- Get the set npm registry URL☆53Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- The color cyan, in ansi.☆7Updated 5 years ago
- Lo-dash's array-clice method. Slices `array` from the `start` index up to, but not including, the `end` index.☆20Updated 6 years ago
- 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 6 years ago
- Get the list of npm modules that depend on the specified npm module.☆15Updated 6 years ago
- Find the module object for something that was require()d☆26Updated last year
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 2 months ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Is this an ES6 Symbol value?☆18Updated last year
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- fstream class for creating npm packages☆30Updated 7 years ago