{
  "_id": "is-unc-path",
  "maintainers": [
    {
      "name": "jonschlinkert",
      "email": "github@sellside.com"
    }
  ],
  "keywords": [
    "absolute",
    "expression",
    "file",
    "filepath",
    "is",
    "match",
    "matching",
    "path",
    "regex",
    "regexp",
    "regular",
    "unc",
    "win",
    "windows"
  ],
  "dist-tags": {
    "latest": "1.0.0"
  },
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "_rev": "6-3d8efb9757e4ebd45177c0fb37d601fc",
  "description": "Returns true if a filepath is a windows UNC file path.",
  "readme": "# is-unc-path [![NPM version](https://img.shields.io/npm/v/is-unc-path.svg?style=flat)](https://www.npmjs.com/package/is-unc-path) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-unc-path.svg?style=flat)](https://npmjs.org/package/is-unc-path) [![NPM total downloads](https://img.shields.io/npm/dt/is-unc-path.svg?style=flat)](https://npmjs.org/package/is-unc-path) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-unc-path.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-unc-path)\n\n> Returns true if a filepath is a windows UNC file path.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-unc-path\n```\n\n## Usage\n\n```js\nvar isUncPath = require('is-unc-path');\n```\n\n**true**\n\nReturns true for windows UNC paths:\n\n```js\nisUncPath('\\\\/foo/bar');\nisUncPath('\\\\\\\\foo/bar');\nisUncPath('\\\\\\\\foo\\\\admin$');\nisUncPath('\\\\\\\\foo\\\\admin$\\\\system32');\nisUncPath('\\\\\\\\foo\\\\temp');\nisUncPath('\\\\\\\\/foo/bar');\nisUncPath('\\\\\\\\\\\\/foo/bar');\n```\n\n**false**\n\nReturns false for non-UNC paths:\n\n```js\nisUncPath('/foo/bar');\nisUncPath('/');\nisUncPath('/foo');\nisUncPath('/foo/');\nisUncPath('c:');\nisUncPath('c:.');\nisUncPath('c:./');\nisUncPath('c:./file');\nisUncPath('c:/');\nisUncPath('c:/file');\n```\n\n**Customization**\n\nUse `.source` to use the regex as a component of another regex:\n\n```js\nvar myRegex = new RegExp(isUncPath.source + 'foo');\n```\n\n**[Rules for UNC paths](http://resources.esri.com/help/9.3/ArcGISDesktop/com/Gp_ToolRef/sharing_tools_and_toolboxes/pathnames_explained_colon_absolute_relative_unc_and_url.htm)**\n\n* The computer name is always preceded by a double backward-slash (`\\\\`).\n* UNC paths cannot contain a drive letter (such as `D:`)\n\n## Release history\n\n### v1.0.0 - 2017-07-12\n\n**Changes**\n\n* now throws a `TypeError` if value is not a string\n\n## About\n\n### Related projects\n\n* [is-absolute](https://www.npmjs.com/package/is-absolute): Polyfill for node.js `path.isAbolute`. Returns true if a file path is absolute. | [homepage](https://github.com/jonschlinkert/is-absolute \"Polyfill for node.js `path.isAbolute`. Returns true if a file path is absolute.\")\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-relative](https://www.npmjs.com/package/is-relative): Returns `true` if the path appears to be relative. | [homepage](https://github.com/jonschlinkert/is-relative \"Returns `true` if the path appears to be relative.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\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### Running tests\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### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [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 July 13, 2017._",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jonschlinkert/is-unc-path.git"
  },
  "bugs": {
    "url": "https://github.com/jonschlinkert/is-unc-path/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.1": {
      "name": "is-unc-path",
      "description": "Returns true if a filepath is a windows UNC file path.",
      "version": "0.1.1",
      "homepage": "https://github.com/jonschlinkert/is-unc-path",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jonschlinkert/is-unc-path.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/is-unc-path/issues"
      },
      "license": "MIT",
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "*"
      },
      "keywords": [
        "absolute",
        "expression",
        "file",
        "filepath",
        "match",
        "matching",
        "path",
        "regex",
        "regexp",
        "regular",
        "unc",
        "win",
        "windows"
      ],
      "dependencies": {
        "unc-path-regex": "^0.1.0"
      },
      "_id": "is-unc-path@0.1.1",
      "_shasum": "ab2533d77ad733561124c3dc0f5cd8b90054c86b",
      "_from": ".",
      "_npmVersion": "2.10.1",
      "_nodeVersion": "0.12.4",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "ab2533d77ad733561124c3dc0f5cd8b90054c86b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/is-unc-path/-/is-unc-path-0.1.1.tgz",
        "integrity": "sha512-/mT18vRtlNK2b5W9IHx88pFcgy4etJHi+hB4FfdNPzKxtcq2eO4DALUrOAK1tvSI9IWsPkCq3WXAJL7G3gc1VQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIAtXTWlIbh4zJQ769ipjj7jvA324+Y5IPjiGdYOYIMHJAiAXyksbzama4zQOxlPQSqamaLdDtq0mAJ3MmDKS/jAFgQ=="
          }
        ]
      }
    },
    "0.1.2": {
      "name": "is-unc-path",
      "description": "Returns true if a filepath is a windows UNC file path.",
      "version": "0.1.2",
      "homepage": "https://github.com/jonschlinkert/is-unc-path",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jonschlinkert/is-unc-path.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/is-unc-path/issues"
      },
      "license": "MIT",
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "dependencies": {
        "unc-path-regex": "^0.1.0"
      },
      "devDependencies": {
        "gulp-format-md": "^0.1.11",
        "mocha": "*"
      },
      "keywords": [
        "absolute",
        "expression",
        "file",
        "filepath",
        "is",
        "match",
        "matching",
        "path",
        "regex",
        "regexp",
        "regular",
        "unc",
        "win",
        "windows"
      ],
      "verb": {
        "related": {
          "list": [
            "dirname-regex",
            "dotdir-regex",
            "dotfile-regex",
            "is-glob",
            "is-unc-path",
            "path-regex",
            "unc-path-regex"
          ]
        },
        "toc": false,
        "layout": "default",
        "tasks": [
          "readme"
        ],
        "plugins": [
          "gulp-format-md"
        ],
        "lint": {
          "reflinks": true
        },
        "reflinks": [
          "verb",
          "verb-generate-readme"
        ]
      },
      "gitHead": "dd26cfd8f7774130f36862dfe1c16e787cb21533",
      "_id": "is-unc-path@0.1.2",
      "_shasum": "6ab053a72573c10250ff416a3814c35178af39b9",
      "_from": ".",
      "_npmVersion": "3.10.3",
      "_nodeVersion": "6.7.0",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "6ab053a72573c10250ff416a3814c35178af39b9",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/is-unc-path/-/is-unc-path-0.1.2.tgz",
        "integrity": "sha512-HhLc5VDMH4pu3oMtIuunz/DFQUIoR561kMME3U3Afhj8b7vH085vkIkemrz1kLXCEIuoMAmO3yVmafWdSbGW8w==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIB7iqJLGwZszmX841y6umXl0vIbaO5TumukLFH+v+3C1AiAdGqlFw1kzjJVSKqf3DVzkULELlGZIy9RmelD6COFXig=="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "packages-18-east.internal.npmjs.com",
        "tmp": "tmp/is-unc-path-0.1.2.tgz_1481094386691_0.525543796364218"
      }
    },
    "1.0.0": {
      "name": "is-unc-path",
      "description": "Returns true if a filepath is a windows UNC file path.",
      "version": "1.0.0",
      "homepage": "https://github.com/jonschlinkert/is-unc-path",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jonschlinkert/is-unc-path.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/is-unc-path/issues"
      },
      "license": "MIT",
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "dependencies": {
        "unc-path-regex": "^0.1.2"
      },
      "devDependencies": {
        "gulp-format-md": "^1.0.0",
        "mocha": "^3.4.2"
      },
      "keywords": [
        "absolute",
        "expression",
        "file",
        "filepath",
        "is",
        "match",
        "matching",
        "path",
        "regex",
        "regexp",
        "regular",
        "unc",
        "win",
        "windows"
      ],
      "verb": {
        "toc": false,
        "layout": "default",
        "tasks": [
          "readme"
        ],
        "plugins": [
          "gulp-format-md"
        ],
        "lint": {
          "reflinks": true
        },
        "related": {
          "list": [
            "is-relative",
            "is-absolute",
            "is-glob"
          ]
        }
      },
      "gitHead": "06baedec306bcbca8c9ee435db80a0e566764fd0",
      "_id": "is-unc-path@1.0.0",
      "_npmVersion": "5.2.0",
      "_nodeVersion": "7.7.3",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==",
        "shasum": "d731e8898ed090a12c352ad2eaed5095ad322c9d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/is-unc-path/-/is-unc-path-1.0.0.tgz",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIB08+yIHyF5buDqvCQMbujKbVRBCzsUyA1MAN/8wrpz+AiA0ZvfbBv82WnBfIpJ/ofRSwC+PtxCjmDHSg95LPlquiA=="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/is-unc-path-1.0.0.tgz_1499932646815_0.1278308816254139"
      }
    }
  },
  "name": "is-unc-path",
  "time": {
    "modified": "2026-05-20T15:56:40.423Z",
    "created": "2015-07-07T14:32:31.867Z",
    "0.1.1": "2015-07-07T14:32:31.867Z",
    "0.1.2": "2016-12-07T07:06:27.423Z",
    "1.0.0": "2017-07-13T07:57:27.751Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/jonschlinkert/is-unc-path"
}