jonschlinkert / relative
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 last year
Alternatives and similar repositories for relative:
Users that are interested in relative are comparing it to the libraries listed below
- Import a globally installed module☆57Updated last year
- Get the set npm registry URL☆53Updated 2 years ago
- List of node.js builtin modules☆38Updated 9 months ago
- fstream class for creating npm packages☆30Updated 7 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Install dependencies using Yarn with npm fallback.☆29Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Replaces a file extension with another one.☆46Updated last year
- benchmark recording - averages & graphs.☆14Updated 7 years ago
- Cascading, controlled-visibility options object management.☆40Updated 4 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated 10 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated 8 months ago
- Map over an array or object of values in parallel or series, passing each through the async iterator, with optional lifecycle hooks.☆24Updated last year
- Allows libraries to handle various caller provided asynchronous functions uniformly. Maps promises, observables, child processes and stre…☆70Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated last year
- Get the file extension and MIME type from a file☆25Updated 7 years ago
- Invoke multiple commands, running in parallel / sequential, matching npm scripts☆27Updated 6 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if a path is a file, directory, or symlink☆77Updated 5 months ago
- Wrap all spawned Node.js child processes by adding environs and arguments ahead of the main JavaScript file argument.☆36Updated last year
- Extract the username from a git remote origin URL.☆17Updated 6 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
- Resolve a relative path against a root path with validation☆33Updated 5 months ago
- Array.prototype.includes spec-compliant polyfill☆43Updated 9 months ago
- Tests whether one path is inside another path☆41Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 2 years ago