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☆55Updated 3 weeks ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- List of node.js builtin modules☆38Updated last year
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 3 years ago
- fstream class for creating npm packages☆30Updated 7 years ago
- Extract the username from a git remote origin URL.☆17Updated 7 years ago
- Create `esm` enabled packages.☆51Updated 5 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆66Updated 2 months ago
- Check whether a given value is a generator function☆15Updated last year
- benchmark recording - averages & graphs.☆14Updated 7 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
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 10 months ago
- Replaces a file extension with another one.☆46Updated 2 years ago
- Strip redundant indentation and indent the string