{
  "_id": "is-invalid-path",
  "maintainers": [
    {
      "email": "brian.woodward@gmail.com",
      "name": "doowb"
    },
    {
      "email": "github@sellside.com",
      "name": "jonschlinkert"
    }
  ],
  "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"
  ],
  "dist-tags": {
    "latest": "1.0.2"
  },
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "_rev": "10-7c46bddeaf66902db5040ba8bec4184d",
  "description": "Returns true if a windows file path has invalid characters.",
  "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._",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jonschlinkert/is-invalid-path.git"
  },
  "users": {
    "sixertoy": true
  },
  "bugs": {
    "url": "https://github.com/jonschlinkert/is-invalid-path/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.0": {
      "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": "https://archive.ito.gov.ir/npm/_packages/is-invalid-path/-/is-invalid-path-0.1.0.tgz",
        "integrity": "sha512-aZMG0T3F34mTg4eTdszcGXx54oiZ4NtHSft3hWNJMGJXUUqdIj3cOZuHcU0nCWWcY3jd7yRe/3AEm3vSNTpBGQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIGIAKeCxfH5hwO2O6ke+BP5mW8KXcGa4x6Wm6wzl13HXAiA5UVbW8qbwIbATqAJN28WZeegOyEy1aSYn75D55fSgHw=="
          }
        ]
      },
      "directories": {}
    },
    "1.0.0": {
      "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": "https://archive.ito.gov.ir/npm/_packages/is-invalid-path/-/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="
          }
        ]
      },
      "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
    },
    "1.0.1": {
      "name": "is-invalid-path",
      "description": "Returns true if a windows file path has invalid characters.",
      "version": "1.0.1",
      "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": ">=4.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": "f89bc76f8f66ad6f933a8146b74e0d239c0556dc",
      "_id": "is-invalid-path@1.0.1",
      "_npmVersion": "5.8.0",
      "_nodeVersion": "9.9.0",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "dist": {
        "integrity": "sha512-hqexYLYh73kkzHnnugSg0fl6nN1/OzaVeB64us5IZvNRksu1PF4opFICSmNoKKqkai0B8XZMDGw82SfhSrSHIA==",
        "shasum": "139d7bf8c54197b91ab2e82869b83d7090281276",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/is-invalid-path/-/is-invalid-path-1.0.1.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\nwsFcBAEBCAAQBQJa2GfsCRA9TVsSAnZWagAAwXIP/3umcx2ju8weJNhWpf4J\nSgg1uSf6GVQiN90jn7Adxg2jt7b6FCM5YwFYlhMcjChqKft+3Os8tDdudmpN\nKBoKyznGr5gWWg1PgyOAZk3vpkWCktWbJqRioA+GYZh7TA0O48paYNMJ2li5\n4Cg3NcNWScq0IMl+Sj2zkyTcJVXbf5y4Me6D4H2+fIkQcO+tw5ani2kpOL42\nUdy2v0MMBCtRGUNkpZNmAVa+vPnmf7l3R5izZhv1Zn/YGTYppNQvrqER2iNt\n0CI0s1zPz2whEiv8qUWo9KYafcVZ4BElvFBSHH7RZrHinCfzkbutht1Obd/Z\nP9VdBPSQUfnP6OUQBWI/Bo9bGbbfaUYLGd7XtitfIlIMqRpGZ+vLxKcxunOj\nU1vdpy2fz4oSn88/PA+d6ERg2Y9k588yqlxuVxSiLCM4Ig2P9sRSzOtlBP/0\nqK4XR1nr4ms7jvjHkIUt2uRKvrbMa7ex5U3lO/YH1cHGSgcF9sHVi+XcQjHj\nHmcKRwdVn6uMc6exUFIEWXPyDaILELA9UZMNaOTCvhIU5+n4jxb4K/jCxqKa\nZrPBS8MGwKrzj4VB3+q9YZW6y66mGdS7fsGHGf5Xr8bYvMKdy08VlNKGav9d\nCDezCv7J3y3jsvyY0liKyWMS/uLRZsfvAqcLa7J+KKMrV/dEvy23qs63OnWm\nGQXj\r\n=+LSi\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDt9DwZFeY3/tugGaaL9Vk4kycSd0OTx0WAMFq6TK2Z+QIgbWkw54LDJ8eSWTtwr9flTCMiOxXbCZ4eNPdJKBfKUSg="
          }
        ]
      },
      "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.1_1524131819643_0.9502105641079301"
      },
      "_hasShrinkwrap": false
    },
    "1.0.2": {
      "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": "https://archive.ito.gov.ir/npm/_packages/is-invalid-path/-/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="
          }
        ]
      },
      "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
    }
  },
  "name": "is-invalid-path",
  "time": {
    "modified": "2026-05-26T15:58:22.312Z",
    "created": "2015-05-06T10:53:18.416Z",
    "0.1.0": "2015-05-06T10:53:18.416Z",
    "1.0.0": "2018-04-19T09:47:56.770Z",
    "1.0.1": "2018-04-19T09:56:59.721Z",
    "1.0.2": "2018-04-19T10:03:59.172Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/jonschlinkert/is-invalid-path"
}