jonschlinkert / global-prefixLinks
Get the npm global path prefix. Same code used internally by npm.
☆29Updated last year
Alternatives and similar repositories for global-prefix
Users that are interested in global-prefix are comparing it to the libraries listed below
Sorting:
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 3 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 8 years ago
- timers module for browserify☆24Updated last year
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 8 years ago
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 4 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last week
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 6 years ago
- Returns true if a string has an extglob☆23Updated 6 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 5 years ago
- Extend object A with the properties of object B. node.js/javascript util.☆33Updated 4 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 8 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 8 years ago
- Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.☆24Updated 3 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
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 5 years ago
- Node.js path.dirname() ponyfill☆13Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Updated 3 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last month
- Get the command from a shebang☆24Updated 4 years ago
- Add/write sourcemaps to/from Vinyl files.☆16Updated 2 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 7 years ago
- Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor reformatting.☆19Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Modern Buffer API polyfill without footguns☆27Updated 4 years ago
- Map `visit` over an array of objects.☆17Updated 3 years ago
- Get the set npm registry URL☆57Updated 9 months ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 5 years ago
- List of node.js builtin modules☆37Updated 2 months ago