{"name":"is-relative-path","version":"1.0.0","keywords":["relative","path"],"author":{"url":"http://www.mrjoelkemp.com/","name":"Joel Kemp","email":"joel@mrjoelkemp.com"},"license":"MIT","_id":"is-relative-path@1.0.0","maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"}],"homepage":"https://github.com/mrjoelkemp/is-relative-path","bugs":{"url":"https://github.com/mrjoelkemp/is-relative-path/issues"},"dist":{"shasum":"d4230c67da06c3a9a554776d6f7963f84b26561c","tarball":"http://registry-npm.ywwl.com/is-relative-path/download/is-relative-path-1.0.0.tgz","integrity":"sha512-U6bqsK1W4yEo94iM7QlSQr1Jkqwq5lPZjP/+qh2gS5an4n6rmfTnwHVr1E8QQPXLOBzyYlT5h1wlf07NoTRSnw==","signatures":[{"sig":"MEYCIQD7cZq9vOdGMi5BCV92zhSClYUI6ClQ4zzOC5Y9ko1OfAIhAIUjvTFOLPKfWkvv3nEBYBTeAq0wjS14DGd2Iypi9k8D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":977,"noattachment":false,"key":"/is-relative-path/-/is-relative-path-1.0.0.tgz"},"main":"index.js","_from":".","_shasum":"d4230c67da06c3a9a554776d6f7963f84b26561c","gitHead":"793d2b2aa3c1a6232166b6667cec35886ddc401b","scripts":{"test":"jscs -p airbnb test index.js && mocha"},"_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"repository":{"url":"https://github.com/mrjoelkemp/is-relative-path.git","type":"git"},"_npmVersion":"2.7.1","description":"Whether or not a given path is relative","directories":{"test":"test"},"_nodeVersion":"1.6.2","devDependencies":{"jscs":"~1.13.1","mocha":"~2.2.5"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","readme":"### is-relative-path [![npm](http://img.shields.io/npm/v/is-relative-path.svg)](https://npmjs.org/package/is-relative-path) [![npm](http://img.shields.io/npm/dm/is-relative-path.svg)](https://npmjs.org/package/is-relative-path)\n\n> Sometimes I just want to scream\n\n`npm install is-relative-path`\n\n### Usage\n\n#### `isRelative(path)`\n\n- `path` `<string>`\n- Returns: `<boolean>`\n\n```js\nvar isRelative = require('is-relative-path');\n\nisRelative('../'); // true\nisRelative('/'); // false\n```\n\n### Breaking change\n\n#### Code\n\n| Version | Code                               |\n| ------- | -----------------------------------|\n| 1.x     | `(path) => path[0] === '.'`        |\n| 2.x     | `(path) => !path.isAbsolute(path)` |\n\n#### Test\n\n| path      | v1.x     | v2.x     |\n| --------- | -------- | -------- |\n| `\"\" `     | false    | **true** |\n| `\".\"`     | true     | true     |\n| `\"..\"`    | true     | true     |\n| `\"foo\"`   | false    | **true** |\n| `\"/foo\"`  | false    | false    |\n\n","publish_time":1435456465959,"_cnpm_publish_time":1435456465959,"dist-tags":{"latest":"2.0.0"}}