{
  "_id": "is-valid-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",
    "match",
    "matches",
    "path",
    "pattern",
    "regex",
    "regexp",
    "regular",
    "string",
    "test",
    "valid",
    "validate"
  ],
  "dist-tags": {
    "latest": "0.1.1"
  },
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "_rev": "7-71056caa7e97e933cec6025e7127dd03",
  "description": "Returns true if a file path does not contain any invalid characters.",
  "readme": "# is-valid-path [![NPM version](https://badge.fury.io/js/is-valid-path.svg)](http://badge.fury.io/js/is-valid-path)\n\n> Returns true if a file path does not contain any invalid characters.\n\nInstall with [npm](https://www.npmjs.com/)\n\n```bash\nnpm i is-valid-path --save\n```\n\n## Usage\n\n```js\nvar isValid = require('is-valid-path');\n\n/**\n * Valid\n */\n\nisValid('abc.js');\n//=> 'true'\nisValid('abc/def/ghi.js');\n//=> 'true'\nisValid('foo.js');\n//=> 'true'\n\n/**\n * Invalid\n */\n\nisValid();\n//=> 'valse'\nisValid(null);\n//=> 'valse'\nisValid('!foo.js');\n//=> 'false'\nisValid('*.js');\n//=> 'false'\nisValid('**/abc.js');\n//=> 'false'\nisValid('abc/*.js');\n//=> 'false'\nisValid('abc/(aaa|bbb).js');\n//=> 'false'\nisValid('abc/[a-z].js');\n//=> 'false'\nisValid('abc/{a,b}.js');\n//=> 'false'\nisValid('abc/?.js');\n//=> 'false'\n```\n\n## Related\n\n* [is-glob](https://github.com/jonschlinkert/is-glob): Returns `true` if the given string looks like a glob pattern.\n* [is-invalid-path](https://github.com/jonschlinkert/is-invalid-path): Returns true if a file path has invalid characters.\n* [is-git-url](https://github.com/jonschlinkert/is-git-url): Regex to validate that a URL is a git url.\n* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… [more](https://github.com/jonschlinkert/micromatch)\n* [parse-glob](https://github.com/jonschlinkert/parse-glob): Parse a glob pattern into an object of tokens.\n\n## Run tests\n\nInstall dev dependencies:\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-valid-path/issues)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright (c) 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 06, 2015._\n",
  "repository": {
    "type": "git",
    "url": "git://github.com/jonschlinkert/is-valid-path.git"
  },
  "users": {
    "sixertoy": true
  },
  "bugs": {
    "url": "https://github.com/jonschlinkert/is-valid-path/issues"
  },
  "license": {
    "type": "MIT",
    "url": "https://github.com/jonschlinkert/is-valid-path/blob/master/LICENSE"
  },
  "versions": {
    "0.1.0": {
      "name": "is-valid-path",
      "description": "Returns true if a filepath is valid.",
      "version": "0.1.0",
      "homepage": "https://github.com/jonschlinkert/is-valid-path",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/is-valid-path.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/is-valid-path/issues"
      },
      "license": {
        "type": "MIT",
        "url": "https://github.com/jonschlinkert/is-valid-path/blob/master/LICENSE"
      },
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "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"
      ],
      "dependencies": {
        "is-invalid-path": "^0.1.0"
      },
      "_id": "is-valid-path@0.1.0",
      "_shasum": "cd2a4daf2c4cd43977cba00e7ada32cfb9f3496d",
      "_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": "cd2a4daf2c4cd43977cba00e7ada32cfb9f3496d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/is-valid-path/-/is-valid-path-0.1.0.tgz",
        "integrity": "sha512-9nrHaUEprndW6KbhFll+oZj8n6WQCPYFcltjoyEYwnJy6H3sSU4UDOwM8vuLkLOTgRSFU/Wdh1H2pbm8J4D/zA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIEBpHhWMDoeFhwQcnvW4wIbm23LYww9vpvsYipis4LRiAiEAwQd3sgumKipD3WQYCYSEnrO9my2SUSnuw82DRXtgcFU="
          }
        ]
      }
    },
    "0.1.1": {
      "name": "is-valid-path",
      "description": "Returns true if a file path does not contain any invalid characters.",
      "version": "0.1.1",
      "homepage": "https://github.com/jonschlinkert/is-valid-path",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/is-valid-path.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/is-valid-path/issues"
      },
      "license": {
        "type": "MIT",
        "url": "https://github.com/jonschlinkert/is-valid-path/blob/master/LICENSE"
      },
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "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"
      ],
      "dependencies": {
        "is-invalid-path": "^0.1.0"
      },
      "gitHead": "6f8a4d27d29d7e93f983fddbfbd8e87e8aa56c07",
      "_id": "is-valid-path@0.1.1",
      "_shasum": "110f9ff74c37f663e1ec7915eb451f2db93ac9df",
      "_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": "110f9ff74c37f663e1ec7915eb451f2db93ac9df",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/is-valid-path/-/is-valid-path-0.1.1.tgz",
        "integrity": "sha512-+kwPrVDu9Ms03L90Qaml+79+6DZHqHyRoANI6IsZJ/g8frhnfchDOBCa0RbQ6/kdHt5CS5OeIEyrYznNuVN+8A==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDMstxYg/UAs4gLPFiFOyL3fBFzRScTnvRHd4Y0zbIwkQIhAPYP8KEqALPNndEtTz58b+9EARg5mZOQZ3xciVbCdG6D"
          }
        ]
      }
    }
  },
  "name": "is-valid-path",
  "time": {
    "modified": "2026-05-26T15:56:39.308Z",
    "created": "2015-05-06T10:57:26.179Z",
    "0.1.0": "2015-05-06T10:57:26.179Z",
    "0.1.1": "2015-05-06T10:58:29.917Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/jonschlinkert/is-valid-path"
}