Calculate the relative path from a file's destination path to another directory or file.
npm
Install withnpm i relative-dest --save
Usage
var relative = ; ;//=> '../../public' ;//=> '../../../assets' ;//=> 'dist/public/css' ;//=> '.'
API
Run tests
Install dev dependencies:
node i -d && mocha
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on December 20, 2014.