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 2 years ago
Alternatives and similar repositories for relative:
Users that are interested in relative are comparing it to the libraries listed below
- Get the set npm registry URL☆54Updated last week
- Extract the username from a git remote origin URL.☆17Updated 7 years ago
- List of node.js builtin modules☆38Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Import a globally installed module☆58Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- fstream class for creating npm packages☆30Updated 7 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 9 months ago
- A list of directories you should ignore by default☆23Updated 2 years ago
- Split lines into an array of lines☆44Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- ☆45Updated 2 years ago
- 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
- Check whether a given value is a generator function☆15Updated last year
- Replaces a file extension with another one.☆46Updated 2 years ago
- Combines array of streams into one Readable stream in strict order.☆28Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Install dependencies using Yarn with npm fallback.☆29Updated 2 years ago
- Create `esm` enabled packages.☆51Updated 5 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year
- Low-level wrapper to easily support sync, async, and generator functions.☆34Updated 4 years ago
- A very simple and stupid parser, based on a statemachine and regular expressions.☆64Updated 6 years ago
- Cross-browser element class manipulation☆52Updated 4 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated last year
- A tool to help you migrating from should to assert☆13Updated 9 months ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago