138 lines
7.0 KiB
JSON
138 lines
7.0 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "expand-brackets@^0.1.4",
|
|
"scope": null,
|
|
"escapedName": "expand-brackets",
|
|
"name": "expand-brackets",
|
|
"rawSpec": "^0.1.4",
|
|
"spec": ">=0.1.4 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/micromatch"
|
|
]
|
|
],
|
|
"_from": "expand-brackets@>=0.1.4 <0.2.0",
|
|
"_id": "expand-brackets@0.1.5",
|
|
"_inCache": true,
|
|
"_location": "/expand-brackets",
|
|
"_nodeVersion": "5.5.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-12-west.internal.npmjs.com",
|
|
"tmp": "tmp/expand-brackets-0.1.5.tgz_1459554506001_0.9547659594099969"
|
|
},
|
|
"_npmUser": {
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
"_npmVersion": "3.6.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "expand-brackets@^0.1.4",
|
|
"scope": null,
|
|
"escapedName": "expand-brackets",
|
|
"name": "expand-brackets",
|
|
"rawSpec": "^0.1.4",
|
|
"spec": ">=0.1.4 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/micromatch"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
|
|
"_shasum": "df07284e342a807cd733ac5af72411e581d1177b",
|
|
"_shrinkwrap": null,
|
|
"_spec": "expand-brackets@^0.1.4",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/micromatch",
|
|
"author": {
|
|
"name": "Jon Schlinkert",
|
|
"url": "https://github.com/jonschlinkert"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jonschlinkert/expand-brackets/issues"
|
|
},
|
|
"dependencies": {
|
|
"is-posix-bracket": "^0.1.0"
|
|
},
|
|
"description": "Expand POSIX bracket expressions (character classes) in glob patterns.",
|
|
"devDependencies": {
|
|
"gulp-format-md": "^0.1.7",
|
|
"mocha": "^2.2.5",
|
|
"should": "^7.0.2"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "df07284e342a807cd733ac5af72411e581d1177b",
|
|
"tarball": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "1b07fda8ee8b6426d95e6539785b74c57e9ee542",
|
|
"homepage": "https://github.com/jonschlinkert/expand-brackets",
|
|
"keywords": [
|
|
"bracket",
|
|
"character class",
|
|
"expression",
|
|
"posix"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
{
|
|
"name": "es128",
|
|
"email": "elan.shanker+npm@gmail.com"
|
|
},
|
|
{
|
|
"name": "doowb",
|
|
"email": "brian.woodward@gmail.com"
|
|
}
|
|
],
|
|
"name": "expand-brackets",
|
|
"optionalDependencies": {},
|
|
"readme": "# expand-brackets [![NPM version](https://img.shields.io/npm/v/expand-brackets.svg?style=flat)](https://www.npmjs.com/package/expand-brackets) [![NPM downloads](https://img.shields.io/npm/dm/expand-brackets.svg?style=flat)](https://npmjs.org/package/expand-brackets) [![Build Status](https://img.shields.io/travis/jonschlinkert/expand-brackets.svg?style=flat)](https://travis-ci.org/jonschlinkert/expand-brackets)\n\n> Expand POSIX bracket expressions (character classes) in glob patterns.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install expand-brackets --save\n```\n\n## Usage\n\n```js\nvar brackets = require('expand-brackets');\n\nbrackets('[![:lower:]]');\n//=> '[^a-z]'\n```\n\n## .isMatch\n\nReturn true if the given string matches the bracket expression:\n\n```js\nbrackets.isMatch('A', '[![:lower:]]');\n//=> true\n\nbrackets.isMatch('a', '[![:lower:]]');\n//=> false\n```\n\n## .makeRe\n\nMake a regular expression from a bracket expression:\n\n```js\nbrackets.makeRe('[![:lower:]]');\n//=> /[^a-z]/\n```\n\nThe following named POSIX bracket expressions are supported:\n\n* `[:alnum:]`: Alphanumeric characters (`a-zA-Z0-9]`)\n* `[:alpha:]`: Alphabetic characters (`a-zA-Z]`)\n* `[:blank:]`: Space and tab (`[ t]`)\n* `[:digit:]`: Digits (`[0-9]`)\n* `[:lower:]`: Lowercase letters (`[a-z]`)\n* `[:punct:]`: Punctuation and symbols. (`[!\"#$%&'()*+, -./:;<=>?@ [\\]^_``{|}~]`)\n* `[:upper:]`: Uppercase letters (`[A-Z]`)\n* `[:word:]`: Word characters (letters, numbers and underscores) (`[A-Za-z0-9_]`)\n* `[:xdigit:]`: Hexadecimal digits (`[A-Fa-f0-9]`)\n\nCollating sequences are not supported.\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [extglob](https://www.npmjs.com/package/extglob): Convert extended globs to regex-compatible strings. Add (almost) the expressive power of regular expressions to… [more](https://www.npmjs.com/package/extglob) | [homepage](https://github.com/jonschlinkert/extglob)\n* [is-extglob](https://www.npmjs.com/package/is-extglob): Returns true if a string has an extglob. | [homepage](https://github.com/jonschlinkert/is-extglob)\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://www.npmjs.com/package/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob)\n* [is-posix-bracket](https://www.npmjs.com/package/is-posix-bracket): Returns true if the given string is a POSIX bracket expression (POSIX character class). | [homepage](https://github.com/jonschlinkert/is-posix-bracket)\n* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… [more](https://www.npmjs.com/package/micromatch) | [homepage](https://github.com/jonschlinkert/micromatch)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/expand-brackets/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb && npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\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\nverb © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/expand-brackets/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v, on April 01, 2016._",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jonschlinkert/expand-brackets.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"verb": {
|
|
"run": true,
|
|
"toc": false,
|
|
"layout": "default",
|
|
"tasks": [
|
|
"readme"
|
|
],
|
|
"plugins": [
|
|
"gulp-format-md"
|
|
],
|
|
"related": {
|
|
"list": [
|
|
"extglob",
|
|
"is-extglob",
|
|
"is-glob",
|
|
"is-posix-bracket",
|
|
"micromatch"
|
|
]
|
|
},
|
|
"reflinks": [
|
|
"verb"
|
|
],
|
|
"lint": {
|
|
"reflinks": true
|
|
}
|
|
},
|
|
"version": "0.1.5"
|
|
}
|