{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["path","paths","file","dir","absolute","isabsolute","is-absolute","built-in","util","utils","core","ponyfill","polyfill","shim","is","detect","check"],"dist-tags":{"latest":"1.0.1"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Node.js 0.12 path.isAbsolute() ponyfill","readme":"# path-is-absolute [![Build Status](https://travis-ci.org/sindresorhus/path-is-absolute.svg?branch=master)](https://travis-ci.org/sindresorhus/path-is-absolute)\n\n> Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) [ponyfill](https://ponyfill.com)\n\n\n## Install\n\n```\n$ npm install --save path-is-absolute\n```\n\n\n## Usage\n\n```js\nconst pathIsAbsolute = require('path-is-absolute');\n\n// Running on Linux\npathIsAbsolute('/home/foo');\n//=> true\npathIsAbsolute('C:/Users/foo');\n//=> false\n\n// Running on Windows\npathIsAbsolute('C:/Users/foo');\n//=> true\npathIsAbsolute('/home/foo');\n//=> false\n\n// Running on any OS\npathIsAbsolute.posix('/home/foo');\n//=> true\npathIsAbsolute.posix('C:/Users/foo');\n//=> false\npathIsAbsolute.win32('C:/Users/foo');\n//=> true\npathIsAbsolute.win32('/home/foo');\n//=> false\n```\n\n\n## API\n\nSee the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isabsolute_path).\n\n### pathIsAbsolute(path)\n\n### pathIsAbsolute.posix(path)\n\nPOSIX specific version.\n\n### pathIsAbsolute.win32(path)\n\nWindows specific version.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/path-is-absolute.git"},"users":{"wenbing":true,"sixertoy":true,"knownasilya":true,"youstrive":true,"artemigos":true,"mojaray2k":true,"shuoshubao":true,"stone_breaker":true},"bugs":{"url":"https://github.com/sindresorhus/path-is-absolute/issues"},"license":"MIT","versions":{"1.0.0":{"name":"path-is-absolute","version":"1.0.0","description":"Node.js 0.12 path.isAbsolute() ponyfill","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/path-is-absolute"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["path","paths","file","dir","absolute","isabsolute","is-absolute","built-in","util","utils","core","ponyfill","polyfill","shim","is","detect","check"],"gitHead":"7a76a0c9f2263192beedbe0a820e4d0baee5b7a1","bugs":{"url":"https://github.com/sindresorhus/path-is-absolute/issues"},"homepage":"https://github.com/sindresorhus/path-is-absolute","_id":"path-is-absolute@1.0.0","_shasum":"263dada66ab3f2fb10bf7f9d24dd8f3e570ef912","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"263dada66ab3f2fb10bf7f9d24dd8f3e570ef912","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/path-is-absolute/-/path-is-absolute-1.0.0.tgz"},"directories":{}},"1.0.1":{"name":"path-is-absolute","version":"1.0.1","description":"Node.js 0.12 path.isAbsolute() ponyfill","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/path-is-absolute.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["path","paths","file","dir","absolute","isabsolute","is-absolute","built-in","util","utils","core","ponyfill","polyfill","shim","is","detect","check"],"devDependencies":{"xo":"^0.16.0"},"gitHead":"edc91d348b21dac2ab65ea2fbec2868e2eff5eb6","bugs":{"url":"https://github.com/sindresorhus/path-is-absolute/issues"},"homepage":"https://github.com/sindresorhus/path-is-absolute#readme","_id":"path-is-absolute@1.0.1","_shasum":"174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/path-is-absolute/-/path-is-absolute-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/path-is-absolute-1.0.1.tgz_1475210523565_0.9876507974695414"},"directories":{}}},"name":"path-is-absolute","time":{"modified":"2017-04-07T11:05:54.738Z","created":"2015-02-17T03:11:44.044Z","1.0.0":"2015-02-17T03:11:44.044Z","1.0.1":"2016-09-30T04:42:03.803Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/path-is-absolute#readme"}