{"maintainers":[{"email":"patrik.henningsson@gmail.com","name":"anonymous"},{"email":"xhmikosr@gmail.com","name":"anonymous"},{"email":"mrjoelkemp@gmail.com","name":"anonymous"}],"keywords":["relative","path"],"dist-tags":{"latest":"2.0.0"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"description":"Whether or not a given path is relative","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","repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/is-relative-path.git"},"bugs":{"url":"https://github.com/mrjoelkemp/is-relative-path/issues"},"license":"MIT","versions":{"1.0.0":{"name":"is-relative-path","version":"1.0.0","description":"Whether or not a given path is relative","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jscs -p airbnb test index.js && mocha"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/is-relative-path.git"},"keywords":["relative","path"],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/mrjoelkemp/is-relative-path/issues"},"homepage":"https://github.com/mrjoelkemp/is-relative-path","devDependencies":{"jscs":"~1.13.1","mocha":"~2.2.5"},"gitHead":"793d2b2aa3c1a6232166b6667cec35886ddc401b","_id":"is-relative-path@1.0.0","_shasum":"d4230c67da06c3a9a554776d6f7963f84b26561c","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"anonymous","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"anonymous","email":"joel@mrjoelkemp.com"}],"dist":{"shasum":"d4230c67da06c3a9a554776d6f7963f84b26561c","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-relative-path/-/is-relative-path-1.0.0.tgz","integrity":"sha512-U6bqsK1W4yEo94iM7QlSQr1Jkqwq5lPZjP/+qh2gS5an4n6rmfTnwHVr1E8QQPXLOBzyYlT5h1wlf07NoTRSnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7cZq9vOdGMi5BCV92zhSClYUI6ClQ4zzOC5Y9ko1OfAIhAIUjvTFOLPKfWkvv3nEBYBTeAq0wjS14DGd2Iypi9k8D"}]}},"1.0.1":{"name":"is-relative-path","version":"1.0.1","description":"Whether or not a given path is relative","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jscs test index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/is-relative-path.git"},"keywords":["relative","path"],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/mrjoelkemp/is-relative-path/issues"},"homepage":"https://github.com/mrjoelkemp/is-relative-path","devDependencies":{"jscs":"~3.0.3","mocha":"~2.4.5"},"jscsConfig":{"preset":"airbnb"},"gitHead":"14153bf8ab6ed1e58e97f6ae7df61eb1db25f3d5","_id":"is-relative-path@1.0.1","_shasum":"ac72793a2d60c049e50676e04a24a8d8f263dc26","_from":".","_npmVersion":"3.8.0","_nodeVersion":"0.12.6","_npmUser":{"name":"anonymous","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"anonymous","email":"joel@mrjoelkemp.com"}],"dist":{"shasum":"ac72793a2d60c049e50676e04a24a8d8f263dc26","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-relative-path/-/is-relative-path-1.0.1.tgz","integrity":"sha512-Rg/8n/RzLSlDXqbndDdQgHFn7nET8VteZxdfE9emi+kJvxwLX4KJ8A3++qUcQHTk75zwrrocKkkqKkY8HuHwzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEraNe5z9wsu0U+9JyR0uNuADpy9RuYIRG9p7yBNMucCAiAJ4+nTut9/t3fThKzZ9ec4ZviFSjZ5kV201su8kOL+pw=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-relative-path-1.0.1.tgz_1462045808652_0.026822604471817613"}},"1.0.2":{"name":"is-relative-path","version":"1.0.2","description":"Whether or not a given path is relative","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jscs test index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/is-relative-path.git"},"keywords":["relative","path"],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/mrjoelkemp/is-relative-path/issues"},"homepage":"https://github.com/mrjoelkemp/is-relative-path","devDependencies":{"jscs":"~3.0.3","mocha":"~2.4.5"},"jscsConfig":{"preset":"airbnb"},"gitHead":"8d783212b5c120a0fc96d5007a78112675c9b8fd","_id":"is-relative-path@1.0.2","_shasum":"091b46a0d67c1ed0fe85f1f8cfdde006bb251d46","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"anonymous","email":"joel@mrjoelkemp.com"},"dist":{"shasum":"091b46a0d67c1ed0fe85f1f8cfdde006bb251d46","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-relative-path/-/is-relative-path-1.0.2.tgz","integrity":"sha512-i1h+y50g+0hRbBD+dbnInl3JlJ702aar58snAeX+MxBAPvzXGej7sYoPMhlnykabt0ZzCJNBEyzMlekuQZN7fA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDp9UKPy4pi9pZW1lGbb4bvHK+uxVi98x+jiSYlhp7+LQIhAJjKLn/UgfJViYKYzlloH6hwnoDolXuLKQA8bzn9pZwR"}]},"maintainers":[{"name":"anonymous","email":"joel@mrjoelkemp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-relative-path-1.0.2.tgz_1502284938316_0.35036768880672753"}},"2.0.0":{"name":"is-relative-path","version":"2.0.0","description":"Whether or not a given path is relative","main":"index.js","engines":{"node":">=0.11.2"},"directories":{"test":"test"},"scripts":{"test":"jscs test index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/is-relative-path.git"},"keywords":["relative","path"],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/mrjoelkemp/is-relative-path/issues"},"homepage":"https://github.com/mrjoelkemp/is-relative-path","devDependencies":{"jscs":"^2.0.0","mocha":"~2.4.5"},"jscsConfig":{"preset":"airbnb"},"gitHead":"0ca7cbe80f216f9bee8a86fdf93eb4c6ac303919","_id":"is-relative-path@2.0.0","_shasum":"bcd0ad3ec23a4938a77f3403d2dbff34b991fb2f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"anonymous","email":"joel@mrjoelkemp.com"},"dist":{"shasum":"bcd0ad3ec23a4938a77f3403d2dbff34b991fb2f","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-relative-path/-/is-relative-path-2.0.0.tgz","integrity":"sha512-zh+et2tsPzCbKOWt4XXMDqwAyCFwtxGlB5HSDdb4K5/HfazHEHjZyXm5ImnbWplbSVeT8msesmWo0OHOjmr4vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdiE18ubscuFzHYy0F9buwoc1EsdMLCvWqwymSE7ZNzAiBNYS1+K2/W5BVQvbhFmkL1xFR2wpKlAyzzUH5JBGvLSA=="}]},"maintainers":[{"name":"anonymous","email":"joel@mrjoelkemp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-relative-path-2.0.0.tgz_1502661579596_0.5388900132384151"}}},"name":"is-relative-path","time":{"modified":"2022-06-19T02:49:31.185Z","created":"2015-06-28T01:54:25.959Z","1.0.0":"2015-06-28T01:54:25.959Z","1.0.1":"2016-04-30T19:50:11.105Z","1.0.2":"2017-08-09T13:22:19.281Z","2.0.0":"2017-08-13T21:59:40.526Z"},"readmeFilename":"Readme.md","homepage":"https://github.com/mrjoelkemp/is-relative-path"}