Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
code / usr / share / code / resources / app / node_modules / expand-range / package.json
Size: Mime:
{
  "_args": [
    [
      "expand-range@https://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz",
      "/vso/work/2/s"
    ]
  ],
  "_from": "expand-range@>=1.8.1 <2.0.0",
  "_id": "expand-range@1.8.1",
  "_inCache": true,
  "_location": "/expand-range",
  "_phantomChildren": {},
  "_requested": {
    "name": "expand-range",
    "raw": "expand-range@https://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz",
    "rawSpec": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/braces"
  ],
  "_resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz",
  "_shasum": "acbd63e56efd9139722b755f099b9db5ac1f33f6",
  "_shrinkwrap": null,
  "_spec": "expand-range@https://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz",
  "_where": "/vso/work/2/s",
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "bugs": {
    "url": "https://github.com/jonschlinkert/expand-range/issues"
  },
  "dependencies": {
    "fill-range": "^2.1.0"
  },
  "description": "Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.",
  "devDependencies": {
    "benchmarked": "^0.1.1",
    "brace-expansion": "^1.1.0",
    "glob": "^4.3.2",
    "minimatch": "^2.0.1",
    "mocha": "*",
    "should": "^4.1.0"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "files": [
    "index.js"
  ],
  "homepage": "https://github.com/jonschlinkert/expand-range",
  "keywords": [
    "alpha",
    "alphabetical",
    "bash",
    "brace",
    "expand",
    "expansion",
    "glob",
    "match",
    "matches",
    "matching",
    "number",
    "numerical",
    "range",
    "ranges",
    "sh"
  ],
  "license": {
    "type": "MIT",
    "url": "https://github.com/jonschlinkert/expand-range/blob/master/LICENSE-MIT"
  },
  "main": "index.js",
  "name": "expand-range",
  "optionalDependencies": {},
  "readme": "# expand-range [![NPM version](https://badge.fury.io/js/expand-range.svg)](http://badge.fury.io/js/expand-range)\n\n> Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i expand-range --save\n```\n\nWraps [fill-range] to do range expansion using `..` separated strings. See [fill-range] for the full list of options and features.\n\n\n## Example usage\n\n```js\nvar expand = require('expand-range');\n```\n\n**Params**\n\n```js\nexpand(start, stop, increment);\n```\n\n - `start`: the number or letter to start with\n - `end`: the number or letter to end with\n - `increment`: optionally pass the increment to use. works for letters or numbers\n\n**Examples**\n\n```js\nexpand('a..e')\n//=> ['a', 'b', 'c', 'd', 'e']\n\nexpand('a..e..2')\n//=> ['a', 'c', 'e']\n\nexpand('A..E..2')\n//=> ['A', 'C', 'E']\n\nexpand('1..3')\n//=> ['1', '2', '3']\n\nexpand('0..-5')\n//=> [ '0', '-1', '-2', '-3', '-4', '-5' ]\n\nexpand('-9..9..3')\n//=> [ '-9', '-6', '-3', '0', '3', '6', '9' ])\n\nexpand('-1..-10..-2')\n//=> [ '-1', '-3', '-5', '-7', '-9' ]\n\nexpand('1..10..2')\n//=> [ '1', '3', '5', '7', '9' ]\n```\n\n\n### Custom function\n\nOptionally pass a custom function as the second argument:\n\n```js\nexpand('a..e', function (val, isNumber, pad, i) {\n  if (!isNumber) {\n    return String.fromCharCode(val) + i;\n  }\n  return val;\n});\n//=> ['a0', 'b1', 'c2', 'd3', 'e4']\n```\n\n## Related\n\n- [micromatch]: wildcard/glob matcher for javascript. a faster alternative to minimatch.\n- [fill-range]: the library this depends on for core functionality\n- [braces]: this library is used in braces, a fast Brash-like brace expansion lib.\n\n## Run tests\n\nInstall dev dependencies\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/expand-range/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\nCopyright (c) 2015 Jon Schlinkert  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb](https://github.com/assemble/verb) on January 30, 2015._\n\n[fill-range]: https://github.com/jonschlinkert/fill-range\n[micromatch]: https://github.com/jonschlinkert/micromatch\n[braces]: https://github.com/jonschlinkert/braces",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/jonschlinkert/expand-range.git"
  },
  "scripts": {
    "test": "mocha -R spec"
  },
  "version": "1.8.1"
}