{"_id":"relative-dest","_rev":"4-5561550b99b216cbc7a24bb16191d714","name":"relative-dest","description":"Calculate the relative path from a file's destination path to another directory or file.","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"relative-dest","description":"Calculate the relative path from a file's destination path to another directory or file.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/relative-dest","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/relative-dest.git"},"bugs":{"url":"https://github.com/jonschlinkert/relative-dest/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/relative-dest/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"relative":"^1.1.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["assets","calculate","dir","directory","file","filepath","fp","path","public","resolve","url"],"gitHead":"30cc585abecaaf1f7d0bd5776ed34b1ea4203635","_id":"relative-dest@0.1.0","_shasum":"ba055b4c2a021f71de92a582eb766dd7b3b0c618","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ba055b4c2a021f71de92a582eb766dd7b3b0c618","tarball":"https://registry.npmjs.org/relative-dest/-/relative-dest-0.1.0.tgz","integrity":"sha512-R0KKZemEhk80FFGkfgvO8BzLIp/2+8DeVatqwqs9+kUFjUftBMUy6J8fROD+YZNhTEFWxgrQZyw4yIV/unJorQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC215nZMxiBe2EefVRlT0/ahbnCJ1rV3bj+mWzNkpI5WgIhALvC6LFY7zgabUlgsRpVLs3wBk5jSgoceTjN1VJ0gEP0"}]}}},"readme":"# relative-dest [![NPM version](https://badge.fury.io/js/relative-dest.svg)](http://badge.fury.io/js/relative-dest)\n\n> Calculate the relative path from a file's destination path to another directory or file.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i relative-dest --save\n```\n\n## Usage\n\n```js\nvar relative = require('relative-dest');\n\nrelative('dist/a/b/c.md', 'dist/public');\n//=> '../../public'\n\nrelative('dist/a/b/c.md', 'assets');\n//=> '../../../assets'\n\nrelative('a.md', 'dist/public/css');\n//=> 'dist/public/css'\n\nrelative('a/b/c/', 'a/b/c/');\n//=> '.'\n```\n\n## API\n\n\n\n## Run tests\n\nInstall dev dependencies:\n\n```bash\nnode i -d && mocha\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/relative-dest/issues)\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2014 Jon Schlinkert  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb](https://github.com/assemble/verb) on December 20, 2014._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-26T10:53:44.810Z","created":"2014-12-20T19:54:13.235Z","0.1.0":"2014-12-20T19:54:13.235Z"},"homepage":"https://github.com/jonschlinkert/relative-dest","keywords":["assets","calculate","dir","directory","file","filepath","fp","path","public","resolve","url"],"repository":{"type":"git","url":"git://github.com/jonschlinkert/relative-dest.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/relative-dest/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/relative-dest/blob/master/LICENSE-MIT"},"readmeFilename":"README.md"}