jonschlinkert / global-prefix
Get the npm global path prefix. Same code used internally by npm.
☆28Updated 3 months ago
Related projects ⓘ
Alternatives and complementary repositories for global-prefix
- 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
- Extract the username from a git remote origin URL.☆17Updated 6 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 string has an extglob☆22Updated 5 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 3 months ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 7 years ago
- List of node.js builtin modules☆38Updated 7 months ago
- Sink your streams.☆17Updated last year
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Updated 3 years ago
- The color cyan, in ansi.☆8Updated 5 years ago
- A ponyfill for Buffer.fill☆10Updated 6 years ago
- Modern Buffer API polyfill without footguns☆26Updated 3 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 3 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 5 years ago
- Map `visit` over an array of objects.☆17Updated 2 years ago
- fstream class for creating npm packages☆30Updated 7 years ago
- Define a non-enumerable property on an object.☆21Updated last year
- timers module for browserify☆24Updated 3 years ago
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆10Updated 2 months ago
- Extract the git remote origin URL from your local git repository.☆16Updated 3 years ago
- Get the list of npm modules that depend on the specified npm module.☆15Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago