{"name":"is-invalid-path","description":"Returns true if a windows file path has invalid characters.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/is-invalid-path","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-invalid-path.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-invalid-path/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["bash","braces","character","check","exec","expression","extglob","file","filepath","glob","globbing","globstar","invalid","is","match","matches","path","pattern","regex","regexp","regular","string","test","valid","validate"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["is-glob","is-windows"]},"lint":{"reflinks":true}},"gitHead":"bd06d935e41dfee48b4ea0d3086f53e6a8fbf3a5","_id":"is-invalid-path@1.0.0","_npmVersion":"5.8.0","_nodeVersion":"9.9.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-9rVKYRGYHnujK35R+WhmQOJJ+hiWy/CIP4MQuM6+nRXuBEeWKCnzINf7HyJDgcrqcXZ9Gabjspy0qWDJwKjAkQ==","shasum":"2bac2c15e4467bb8496a1bb17258934949f44ecb","tarball":"http://registry-npm.ywwl.com/is-invalid-path/download/is-invalid-path-1.0.0.tgz","fileCount":4,"unpackedSize":7279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2GXNCRA9TVsSAnZWagAAVFQP/3YRMA1r+ELs8w+icxTj\n44gNCXZXGafzd5o3vNMiIe64bt3VZIikWwHTdcUoltU89n1nzR8ziBVxrl+N\na4cmrxKbMTnP4ot8s52oAAN62L+lkk4tZCwMI6/4LmFDdDkWyXToIwq7W/1Y\n2NZh2695WEaiv86UVFN1mJG0YTK+vpbJRC/c65JyoPKYuFOCYHkbVy1+QeJ9\nriZmhaI4sxiis+aeI7JSaYwaWG8DR0nSksE7QfI5dLIaDclKJQDGFaV2NSPR\nPSl26QB8CB5Z9L6hBtOMQzD3qVS/N7B0vqZNu9eqVhy+ObKD1IAOAf6i/LKR\nW7pLK4pg0XNsOCkg+kx5RlZkRrFvJezCZ7kpeQmfoE6XLJMptGWRXgUBGW+N\nAncMszLSAIKMxImBJrCaZeWz07soHuMzXwiw/wAoeZPgFMP8Qsq9cWfga63g\nOG2olArsikfU9nvDg8ll+WcmncX4hwWb1hqbdGfh6gQCAVl6FeMUzqmCkQMP\nMnOhCD4+nLSAJE4WWeG/KKje7jjwLYhUgqcaaoG9y55dIxIw+M9rh1AdWwFJ\nCV9cfp0vAkHyBuE/U9BwSYbUIKoPT3V016mzlWBhcf1ZUOQDnkEyfMRtvFPf\nDJPvQqgwpKoqN+4dsvuKhfP5XsSMEhp0/AcUW3ZLe23fhbUXQm2UWXVrW/Hi\nQhel\r\n=wErw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgpIdrU+3R9SRcOEqL/b63t2LYIaHNxKsqI3ZfqT1PYAiEA1O2L5C3uS8cjBvQzwdnp+N40S/QqF+xDgYQ1AFa9eZo="}],"size":3020,"noattachment":false,"key":"/is-invalid-path/-/is-invalid-path-1.0.0.tgz"},"maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-invalid-path_1.0.0_1524131276661_0.3485909412988071"},"_hasShrinkwrap":false,"readme":"# is-invalid-path [![NPM version](https://img.shields.io/npm/v/is-invalid-path.svg?style=flat)](https://www.npmjs.com/package/is-invalid-path) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-invalid-path.svg?style=flat)](https://npmjs.org/package/is-invalid-path) [![NPM total downloads](https://img.shields.io/npm/dt/is-invalid-path.svg?style=flat)](https://npmjs.org/package/is-invalid-path) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-invalid-path.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-invalid-path)\n\n> Returns true if a windows file path has invalid characters.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-invalid-path\n```\n\n## Usage\n\n```js\nconst isInvalid = require('is-invalid-path');\n\n// true if the path is not a string or has invalid characters\nconsole.log(isInvalid());       //=> true\nconsole.log(isInvalid('<abc')); //=> true\nconsole.log(isInvalid('>abc')); //=> true\nconsole.log(isInvalid(':abc')); //=> true\nconsole.log(isInvalid('\"abc')); //=> true\nconsole.log(isInvalid('|abc')); //=> true\nconsole.log(isInvalid('?abc')); //=> true\nconsole.log(isInvalid('*abc')); //=> true\n\n// true if the path has slashes and options.file is true,\n// as slashes and backslashes are invalid in file names\nconsole.log(isInvalid('foo/abc', { file: true })); //=> true\nconsole.log(isInvalid('foo\\\\abc', { file: true })); //=> true\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob \"Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet\")\n* [is-windows](https://www.npmjs.com/package/is-windows): Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD… [more](https://github.com/jonschlinkert/is-windows) | [homepage](https://github.com/jonschlinkert/is-windows \"Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.\")\n\n### Author\n\n**Jon Schlinkert**\n\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on April 19, 2018._","publish_time":1524131276770,"_cnpm_publish_time":1524131276770,"dist-tags":{"latest":"1.0.2"}}