{"name":"is-invalid-path","description":"Returns true if a file path has invalid characters.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/is-invalid-path","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-invalid-path.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-invalid-path/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-invalid-path/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-glob":"^2.0.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["bash","braces","character","check","exec","expression","extglob","file","filepath","glob","globbing","globstar","invalid","match","matches","path","pattern","regex","regexp","regular","string","test","valid","validate"],"_id":"is-invalid-path@0.1.0","_shasum":"307a855b3cf1a938b44ea70d2c61106053714f34","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"307a855b3cf1a938b44ea70d2c61106053714f34","tarball":"http://registry-npm.ywwl.com/is-invalid-path/download/is-invalid-path-0.1.0.tgz","integrity":"sha512-aZMG0T3F34mTg4eTdszcGXx54oiZ4NtHSft3hWNJMGJXUUqdIj3cOZuHcU0nCWWcY3jd7yRe/3AEm3vSNTpBGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIAKeCxfH5hwO2O6ke+BP5mW8KXcGa4x6Wm6wzl13HXAiA5UVbW8qbwIbATqAJN28WZeegOyEy1aSYn75D55fSgHw=="}],"size":2163,"noattachment":false,"key":"/is-invalid-path/-/is-invalid-path-0.1.0.tgz"},"directories":{},"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":1430909598416,"_cnpm_publish_time":1430909598416,"dist-tags":{"latest":"1.0.2"}}