{
  "name": "glob-to-regexp",
  "version": "0.0.1",
  "description": "Convert globs to regular expressions",
  "main": "index.js",
  "scripts": {
    "test": "node test.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/fitzgen/glob-to-regexp.git"
  },
  "keywords": [
    "regexp",
    "glob",
    "regexps",
    "regular expressions",
    "regular expression",
    "wildcard"
  ],
  "author": {
    "name": "Nick Fitzgerald",
    "email": "fitzgen@gmail.com"
  },
  "license": "BSD",
  "readme": "# Glob To Regular Expression\n\n[![Build Status](https://travis-ci.org/fitzgen/glob-to-regexp.png?branch=master)](https://travis-ci.org/fitzgen/glob-to-regexp)\n\nTurn a *-wildcard style glob (`\"*.min.js\"`) into a regular expression\n(`/^.*\\.min\\.js$/`)!\n\nTo match bash-like globs, eg. `?` for any single-character match, `[a-z]` for\ncharacter ranges, and `{*.html, *.js}` for multiple alternatives, call with\n`{ extended: true }`.\n\n## Install\n\n    npm install glob-to-regexp\n\n## Usage\n\n    var globToRegExp = require('glob-to-regexp');\n    var re = globToRegExp(\"f*uck\");\n    re.test(\"firetruck\"); // true\n    re.test(\"fuck\"); // true\n\n    re = globToRegExp(\"*.min.js\");\n    re.test(\"http://example.com/jquery.min.js\"); // true\n    re.test(\"http://example.com/jquery.min.js.map\"); // false\n\n    re = globToRegExp(\"*/www/*.js\");\n    re.test(\"http://example.com/www/app.js\"); // true\n    re.test(\"http://example.com/www/lib/factory-proxy-model-observer.js\"); // true\n\n    // Extended globs\n    re = globToRegExp(\"*/www/{*.js,*.html}\", { extended: true });\n    re.test(\"http://example.com/www/app.js\"); // true\n    re.test(\"http://example.com/www/index.html\"); // true\n\n## License\n\nCopyright (c) 2013, Nick Fitzgerald\n\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this\n  list of conditions and the following disclaimer in the documentation and/or\n  other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/fitzgen/glob-to-regexp/issues"
  },
  "homepage": "https://github.com/fitzgen/glob-to-regexp",
  "_id": "glob-to-regexp@0.0.1",
  "_shasum": "2a5f79f2ed3233d4ee9ea7b6412547000c3f9d75",
  "_from": "glob-to-regexp@>=0.0.1",
  "_resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.0.1.tgz"
}
