{"name":"is-invalid-path","description":"Returns true if a windows file path has invalid characters.","version":"1.0.2","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":">=6.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":"9b6369dca58a860f04d41688300725780659c614","_id":"is-invalid-path@1.0.2","_npmVersion":"5.8.0","_nodeVersion":"9.9.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-6KLcFrPCEP3AFXMfnWrIFkZpYNBVzZAoBJJDEZKtI3LXkaDjM3uFMJQjxiizUuZTZ9Oh9FNv/soXbx5TcpaDmA==","shasum":"2f84731559f4936abcf1b227632719cf45c5dc0e","tarball":"http://registry-npm.ywwl.com/is-invalid-path/download/is-invalid-path-1.0.2.tgz","fileCount":4,"unpackedSize":7261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2GmPCRA9TVsSAnZWagAA3kEP/1GV4V6CGTMw0iKk43s+\n8suyWhC1qiLZhHdW+y8NNS/efQSgmmFlA011+DCZ7hkYMhGYzM14XOpvdveY\nImtbtaOBTes4XRo9xfLTzHCIgpUlxScd1scCqKzPGYOH353b/NhleP7gYCMm\n4noaYlYJHRT3SeIG5baM4XEkihXk9d83k2DaFoIhNJ23ay+Ik/K9W6fPZtdG\npZmsVayO4o35cv4ax/Xe+WmO5F/COxpE2uQRYaxDQXxETanVTV3rt6KA1tzN\n4qc0A2YOcrug3VLChxTlQAwZVPeJPSaLElhVWREZ9N3cvotmK5wePMAPoGeG\nBhCjV7CHoG+r8Ypkjjs8slxLv/bUB253N32ZOwq3e89sCKgBtWWjKnNMJ6VG\ny6FvIgfsYcDkgbvhK4vI/tJkj9VIJb7pvhbIULM9g9QBv9F0P9U8xXnGmsq7\nGcNb8Rwkk/m+vonLfIRBMscc1RDSHIwlRrUiXc/Dr2hMFlU9Go0+LNjdWl4R\nDxJjMrUh4mwLs8NG8Z+cHZL+89DC8AJCO/IZgJTQ/bFV1oZyih/DI7BpVAgu\nIVy6CM3oGly9NX5sUvTeuJTwFT/xvruPcPQlXzyhI/1FLV3NLNCxKKqAmtEr\nSM0vkKb3rpyxk/aDrgk7d1zdlvfkRNyrHZHdxUkhn8U3Qhm3SXAcGBgVkL9g\nsaom\r\n=xISX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIsMa89werXvP8G+CXs9U9UVaU7fscKY8gVMdy+F2uRwIgZFAZLjZb6B8M11eqlPlAWG2qiYYYLI+bgd4sSR0kE/4="}],"size":3012,"noattachment":false,"key":"/is-invalid-path/-/is-invalid-path-1.0.2.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.2_1524132239109_0.15517823499029904"},"_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":1524132239172,"_cnpm_publish_time":1524132239172,"dist-tags":{"latest":"1.0.2"}}