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:
- Import a globally installed module☆58Updated last year
- benchmark recording - averages & graphs.☆14Updated 8 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- List of node.js builtin modules☆38Updated last year
- Extract the username from a git remote origin URL.☆17Updated 7 years ago
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Replaces a file extension with another one.☆46Updated 2 years ago
- Split lines into an array of lines☆44Updated last year
- Array.prototype.includes spec-compliant polyfill☆43Updated last month
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- fstream class for creating npm packages☆30Updated 8 years ago
- Get the set npm registry URL☆55Updated 2 months ago
- Check if something is a promise☆46Updated 4 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Clean and beautiful options for minimist☆53Updated 2 years ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Install dependencies using Yarn with npm fallback.☆29Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Return a copy of an object without the given keys.☆78Updated 4 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Parse a glob pattern into an object of path parts.☆25Updated 5 years ago
- Expand a string into a JavaScript object using a simple notation.☆25Updated 5 years ago
- A very simple and stupid parser, based on a statemachine and regular expressions.☆64Updated 6 years ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago