{"name":"is-relative-path","version":"1.0.1","keywords":["relative","path"],"author":{"url":"http://www.mrjoelkemp.com/","name":"Joel Kemp","email":"joel@mrjoelkemp.com"},"license":"MIT","_id":"is-relative-path@1.0.1","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":"ac72793a2d60c049e50676e04a24a8d8f263dc26","tarball":"http://registry-npm.ywwl.com/is-relative-path/download/is-relative-path-1.0.1.tgz","integrity":"sha512-Rg/8n/RzLSlDXqbndDdQgHFn7nET8VteZxdfE9emi+kJvxwLX4KJ8A3++qUcQHTk75zwrrocKkkqKkY8HuHwzg==","signatures":[{"sig":"MEQCIEraNe5z9wsu0U+9JyR0uNuADpy9RuYIRG9p7yBNMucCAiAJ4+nTut9/t3fThKzZ9ec4ZviFSjZ5kV201su8kOL+pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1075,"noattachment":false,"key":"/is-relative-path/-/is-relative-path-1.0.1.tgz"},"main":"index.js","_from":".","_shasum":"ac72793a2d60c049e50676e04a24a8d8f263dc26","gitHead":"14153bf8ab6ed1e58e97f6ae7df61eb1db25f3d5","scripts":{"test":"jscs test index.js && mocha"},"_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"jscsConfig":{"preset":"airbnb"},"repository":{"url":"git+https://github.com/mrjoelkemp/is-relative-path.git","type":"git"},"_npmVersion":"3.8.0","description":"Whether or not a given path is relative","directories":{"test":"test"},"_nodeVersion":"0.12.6","devDependencies":{"jscs":"~3.0.3","mocha":"~2.4.5"},"_npmOperationalInternal":{"tmp":"tmp/is-relative-path-1.0.1.tgz_1462045808652_0.026822604471817613","host":"packages-12-west.internal.npmjs.com"},"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":1462045811105,"_cnpm_publish_time":1462045811105,"dist-tags":{"latest":"2.0.0"}}