{"_id":"path-is-absolute","_rev":"8782","name":"path-is-absolute","description":"Node.js 0.12 path.isAbsolute() ponyfill","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-06-03T09:57:28.000Z","created":"2015-02-17T03:11:44.044Z","2.0.0":"2018-11-08T11:03:52.447Z","1.0.1":"2016-09-30T04:42:03.803Z","1.0.0":"2015-02-17T03:11:44.044Z"},"users":{"wenbing":true,"sixertoy":true,"knownasilya":true,"youstrive":true,"artemigos":true,"mojaray2k":true,"shuoshubao":true,"stone_breaker":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/path-is-absolute.git"},"versions":{"2.0.0":{"name":"path-is-absolute","version":"2.0.0","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"},"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":"339a65c0a372f5f669d23fa12a0f349caa3fbed5","bugs":{"url":"https://github.com/sindresorhus/path-is-absolute/issues"},"homepage":"https://github.com/sindresorhus/path-is-absolute#readme","_id":"path-is-absolute@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cba416f4f3be5d068afe2083d9b3b3707414533d","size":1905,"noattachment":false,"key":"/path-is-absolute/-/path-is-absolute-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/path-is-absolute/download/path-is-absolute-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-is-absolute_2.0.0_1541675032299_0.04951781937588873"},"_hasShrinkwrap":false,"deprecated":"This package is no longer relevant as Node.js 0.12 is unmaintained.","publish_time":1541675032447,"_cnpm_publish_time":1541675032447},"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","size":1882,"noattachment":false,"key":"/path-is-absolute/-/path-is-absolute-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/path-is-absolute/download/path-is-absolute-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/path-is-absolute-1.0.1.tgz_1475210523565_0.9876507974695414"},"directories":{},"publish_time":1475210523803,"_cnpm_publish_time":1475210523803,"_hasShrinkwrap":false},"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":""}],"dist":{"shasum":"263dada66ab3f2fb10bf7f9d24dd8f3e570ef912","size":1846,"noattachment":false,"key":"/path-is-absolute/-/path-is-absolute-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/path-is-absolute/download/path-is-absolute-1.0.0.tgz"},"directories":{},"publish_time":1424142704044,"_cnpm_publish_time":1424142704044,"_hasShrinkwrap":false}},"readme":"# Deprecated\n\nThis package is no longer relevant as Node.js 0.12 is unmaintained.\n\n---\n\n# 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","_attachments":{},"homepage":"https://github.com/sindresorhus/path-is-absolute#readme","bugs":{"url":"https://github.com/sindresorhus/path-is-absolute/issues"},"license":"MIT"}