{%= name %} {%= badge("fury") %}
Calculates correctly from:
File to directory
File to file
Directory to file
Directory to directory
Install
Usage
var relative = require('relative');
relative(from, to);
// Example
relative('test/fixtures/foo.txt', 'docs');
// => '../../docs'
API
Author
License
Last updated
Was this helpful?