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
Related projects ⓘ
Alternatives and complementary repositories for relative
- Get the set npm registry URL☆53Updated 2 years ago
- List of node.js builtin modules☆38Updated 7 months ago
- Import a globally installed module☆57Updated 10 months ago
- fstream class for creating npm packages☆30Updated 7 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated 6 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 6 years ago
- Extract the username from a git remote origin URL.☆17Updated 6 years ago
- ☆45Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Array.prototype.includes spec-compliant polyfill☆43Updated 8 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated 3 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Get the auth token set for an npm registry☆35Updated 5 months ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- Create a Vinyl file from an actual file☆41Updated last year
- Tests whether one path is inside another path☆41Updated 4 years ago
- Like findup-sync, but 2-4x faster and supports XDG-style `.config/` directories.☆40Updated 4 years ago
- Cross-browser element class manipulation☆52Updated 4 years ago
- CommonJS -> ES Deferred Execution Wrapper☆5Updated 4 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
- Get the path of the caller module☆64Updated 3 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated 10 months ago
- Invoke multiple commands, running in parallel / sequential, matching npm scripts☆27Updated 6 years ago
- Sanity check which files you are and aren't about to publish to npm☆85Updated 2 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 2 years ago