jonschlinkert / relativeLinks
Easily calculate the relative path from file A to file B in Node.js project. Will calculate correctly from a file to a directory, file to file, directory to file, and directory to directory.
☆34Updated 2 years ago
Alternatives and similar repositories for relative
Users that are interested in relative are comparing it to the libraries listed below
Sorting:
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Replaces a file extension with another one.☆46Updated 2 years ago
- Get the set npm registry URL☆55Updated 3 months ago
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 11 months ago
- Low-level wrapper to easily support sync, async, and generator functions.☆34Updated 4 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Return a copy of an object without the given keys.☆78Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 4 months ago
- Import a globally installed module☆58Updated last year
- Tests whether one path is inside another path☆42Updated 5 years ago
- Array.prototype.includes spec-compliant polyfill☆43Updated last month
- Cache requires to be lazy-loaded when needed. Uses node's own require system with tried and true, plain-vanilla JavaScript getters.☆51Updated 2 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Resolve the path of a package regardless of it having an entry point☆54Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- List of node.js builtin modules☆38Updated last year
- Extract the username from a git remote origin URL.☆17Updated 7 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- set blocking stdio and stderr ensuring that terminal output does not truncate☆39Updated last year
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 4 years ago
- Get the dependencies of an ES6 module by traversing its AST☆36Updated 5 months 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