{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["path","fs","type","is","check","directory","dir","file","filepath","symlink","symbolic","link","stat","stats","filesystem"],"dist-tags":{"latest":"3.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Check if a path is a file, directory, or symlink","readme":"# path-type [![Build Status](https://travis-ci.org/sindresorhus/path-type.svg?branch=master)](https://travis-ci.org/sindresorhus/path-type)\n\n> Check if a path is a file, directory, or symlink\n\n\n## Install\n\n```\n$ npm install path-type\n```\n\n\n## Usage\n\n```js\nconst pathType = require('path-type');\n\npathType.file('package.json').then(isFile => {\n\tconsole.log(isFile);\n\t//=> true\n})\n```\n\n\n## API\n\n### .file(path)\n### .dir(path)\n### .symlink(path)\n\nReturns a `Promise` for a `boolean` of whether the path is the checked type.\n\n### .fileSync(path)\n### .dirSync(path)\n### .symlinkSync(path)\n\nReturns a `boolean` of whether the path is the checked type.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/path-type.git"},"users":{"huhgawz":true,"rocket0191":true},"bugs":{"url":"https://github.com/sindresorhus/path-type/issues"},"license":"MIT","versions":{"1.0.0":{"name":"path-type","version":"1.0.0","description":"Check if a path is a file, directory, or symlink","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/path-type"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["path","fs","type","is","check","directory","dir","file","filepath","symlink","symbolic","link","stat","stats","filesystem"],"dependencies":{"graceful-fs":"^4.1.2","pify":"^2.0.0","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"b29ddf1e71fe346a1034e3914efb70287e2ddf64","bugs":{"url":"https://github.com/sindresorhus/path-type/issues"},"homepage":"https://github.com/sindresorhus/path-type","_id":"path-type@1.0.0","_shasum":"51b127d4884100f5808256e45d471716ba16f62d","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"51b127d4884100f5808256e45d471716ba16f62d","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/path-type/-/path-type-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.1.0":{"name":"path-type","version":"1.1.0","description":"Check if a path is a file, directory, or symlink","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/path-type"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["path","fs","type","is","check","directory","dir","file","filepath","symlink","symbolic","link","stat","stats","filesystem"],"dependencies":{"graceful-fs":"^4.1.2","pify":"^2.0.0","pinkie-promise":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"dff5c2a62f89efe7e0cce600bf38e76196d8b4b2","bugs":{"url":"https://github.com/sindresorhus/path-type/issues"},"homepage":"https://github.com/sindresorhus/path-type","_id":"path-type@1.1.0","_shasum":"59c44f7ee491da704da415da5a4070ba4f8fe441","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"59c44f7ee491da704da415da5a4070ba4f8fe441","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/path-type/-/path-type-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"path-type","version":"2.0.0","description":"Check if a path is a file, directory, or symlink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/path-type.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["path","fs","type","is","check","directory","dir","file","filepath","symlink","symbolic","link","stat","stats","filesystem"],"dependencies":{"pify":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"ef08bdbd35fa01342ef6d80f2e8eb8b9c2cccc30","bugs":{"url":"https://github.com/sindresorhus/path-type/issues"},"homepage":"https://github.com/sindresorhus/path-type#readme","_id":"path-type@2.0.0","_shasum":"f012ccb8415b7096fc2daa1054c3d72389594c73","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f012ccb8415b7096fc2daa1054c3d72389594c73","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/path-type/-/path-type-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/path-type-2.0.0.tgz_1475051315257_0.8221027220133692"},"directories":{}},"3.0.0":{"name":"path-type","version":"3.0.0","description":"Check if a path is a file, directory, or symlink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/path-type.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["path","fs","type","is","check","directory","dir","file","filepath","symlink","symbolic","link","stat","stats","filesystem"],"dependencies":{"pify":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"a83cd9d8ad6560dadaa85ae3e677e5a3b58e3ee4","bugs":{"url":"https://github.com/sindresorhus/path-type/issues"},"homepage":"https://github.com/sindresorhus/path-type#readme","_id":"path-type@3.0.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==","shasum":"cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/path-type/-/path-type-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-type-3.0.0.tgz_1499554857781_0.09718758845701814"},"directories":{}}},"name":"path-type","time":{"modified":"2017-07-08T23:00:58.771Z","created":"2015-09-04T08:35:55.517Z","1.0.0":"2015-09-04T08:35:55.517Z","1.1.0":"2015-11-14T19:39:01.645Z","2.0.0":"2016-09-28T08:28:37.085Z","3.0.0":"2017-07-08T23:00:58.771Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/path-type#readme"}