{
  "_id": "@isaacs/brace-expansion",
  "license": "MIT",
  "maintainers": [
    {
      "name": "isaacs",
      "email": "i@izs.me"
    }
  ],
  "dist-tags": {
    "latest": "5.0.1"
  },
  "versions": {
    "5.0.0": {
      "name": "@isaacs/brace-expansion",
      "version": "5.0.0",
      "license": "MIT",
      "_id": "@isaacs/brace-expansion@5.0.0",
      "maintainers": [
        {
          "name": "isaacs",
          "email": "i@izs.me"
        }
      ],
      "dist": {
        "shasum": "4b3dabab7d8e75a429414a96bd67bf4c1d13e0f3",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
        "fileCount": 13,
        "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
        "signatures": [
          {
            "sig": "MEUCIHcxouL8GWTCb+F/NzgyiE3NedfRHh+gRcpD8ucWbNhDAiEA44ssKl5FWiq68EbX8UZWqigQ6kntQj5nE9NaI5nlJYM=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 45347
      },
      "main": "./dist/commonjs/index.js",
      "tshy": {
        "exports": {
          ".": "./src/index.ts",
          "./package.json": "./package.json"
        }
      },
      "type": "module",
      "types": "./dist/commonjs/index.d.ts",
      "module": "./dist/esm/index.js",
      "engines": {
        "node": "20 || >=22"
      },
      "exports": {
        ".": {
          "import": {
            "types": "./dist/esm/index.d.ts",
            "default": "./dist/esm/index.js"
          },
          "require": {
            "types": "./dist/commonjs/index.d.ts",
            "default": "./dist/commonjs/index.js"
          }
        },
        "./package.json": "./package.json"
      },
      "gitHead": "098d08f021620152df88dabd218755c22704eed5",
      "scripts": {
        "snap": "tap",
        "test": "tap",
        "format": "prettier --write . --loglevel warn",
        "prepare": "tshy",
        "presnap": "npm run prepare",
        "pretest": "npm run prepare",
        "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts",
        "benchmark": "node benchmark/index.js",
        "preversion": "npm test",
        "postversion": "npm publish",
        "prepublishOnly": "git push origin --follow-tags"
      },
      "_npmUser": {
        "name": "isaacs",
        "email": "i@izs.me"
      },
      "prettier": {
        "semi": false,
        "useTabs": false,
        "tabWidth": 2,
        "endOfLine": "lf",
        "printWidth": 80,
        "arrowParens": "avoid",
        "singleQuote": true,
        "jsxSingleQuote": false,
        "bracketSameLine": true
      },
      "_npmVersion": "11.3.0",
      "description": "Brace expansion as known from sh/bash",
      "directories": {},
      "_nodeVersion": "22.14.0",
      "dependencies": {
        "@isaacs/balanced-match": "^4.0.1"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^21.1.0",
        "tshy": "^3.0.2",
        "mkdirp": "^3.0.1",
        "typedoc": "^0.28.5",
        "prettier": "^3.3.2",
        "@types/node": "^24.0.0",
        "@types/brace-expansion": "^1.1.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/brace-expansion_5.0.0_1749758817612_0.04222675813374144",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "5.0.1": {
      "name": "@isaacs/brace-expansion",
      "description": "Brace expansion as known from sh/bash",
      "version": "5.0.1",
      "exports": {
        "./package.json": "./package.json",
        ".": {
          "import": {
            "types": "./dist/esm/index.d.ts",
            "default": "./dist/esm/index.js"
          },
          "require": {
            "types": "./dist/commonjs/index.d.ts",
            "default": "./dist/commonjs/index.js"
          }
        }
      },
      "type": "module",
      "scripts": {
        "preversion": "npm test",
        "postversion": "npm publish",
        "prepublishOnly": "git push origin --follow-tags",
        "prepare": "tshy",
        "pretest": "npm run prepare",
        "presnap": "npm run prepare",
        "test": "tap",
        "snap": "tap",
        "format": "prettier --write .",
        "benchmark": "node benchmark/index.js",
        "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
      },
      "devDependencies": {
        "@types/brace-expansion": "^1.1.2",
        "@types/node": "^24.0.0",
        "mkdirp": "^3.0.1",
        "prettier": "^3.3.2",
        "tap": "^21.5.0",
        "tshy": "^3.0.2",
        "typedoc": "^0.28.5"
      },
      "dependencies": {
        "@isaacs/balanced-match": "^4.0.1"
      },
      "license": "MIT",
      "engines": {
        "node": "20 || >=22"
      },
      "tshy": {
        "exports": {
          "./package.json": "./package.json",
          ".": "./src/index.ts"
        }
      },
      "main": "./dist/commonjs/index.js",
      "types": "./dist/commonjs/index.d.ts",
      "module": "./dist/esm/index.js",
      "gitHead": "dc20357ee74ab18df00d596573764428ede66b3d",
      "_id": "@isaacs/brace-expansion@5.0.1",
      "_nodeVersion": "24.4.1",
      "_npmVersion": "11.8.0",
      "dist": {
        "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==",
        "shasum": "0ef5a92d91f2fff2a37646ce54da9e5f599f6eff",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz",
        "fileCount": 13,
        "unpackedSize": 47281,
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEQCICN518FIubsOf+abJIveeaqdvz9meFt9jP5CXdh2whSeAiBvulIrEigmBCCZYGAkkIco7PlGITol/tWR2Lj5InGdTQ=="
          }
        ]
      },
      "_npmUser": {
        "name": "isaacs",
        "email": "i@izs.me"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "isaacs",
          "email": "i@izs.me"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/brace-expansion_5.0.1_1770140411090_0.35355317166497535"
      },
      "_hasShrinkwrap": false
    }
  },
  "_rev": "2-ab9712b5a48b205b0a16572764670dd8",
  "name": "@isaacs/brace-expansion",
  "description": "Brace expansion as known from sh/bash",
  "time": {
    "created": "2025-06-12T20:06:57.491Z",
    "modified": "2026-05-29T18:31:30.411Z",
    "5.0.0": "2025-06-12T20:06:57.789Z",
    "5.0.1": "2026-02-03T17:40:11.256Z"
  },
  "readme": "# @isaacs/brace-expansion\n\nA hybrid CJS/ESM TypeScript fork of\n[brace-expansion](http://npm.im/brace-expansion).\n\n[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html),\nas known from sh/bash, in JavaScript.\n\n[![CI](https://github.com/juliangruber/brace-expansion/actions/workflows/ci.yml/badge.svg)](https://github.com/juliangruber/brace-expansion/actions/workflows/ci.yml)\n[![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion)\n\n## Example\n\n```js\nimport { expand } from '@isaacs/brace-expansion'\n\nexpand('file-{a,b,c}.jpg')\n// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']\n\nexpand('-v{,,}')\n// => ['-v', '-v', '-v']\n\nexpand('file{0..2}.jpg')\n// => ['file0.jpg', 'file1.jpg', 'file2.jpg']\n\nexpand('file-{a..c}.jpg')\n// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']\n\nexpand('file{2..0}.jpg')\n// => ['file2.jpg', 'file1.jpg', 'file0.jpg']\n\nexpand('file{0..4..2}.jpg')\n// => ['file0.jpg', 'file2.jpg', 'file4.jpg']\n\nexpand('file-{a..e..2}.jpg')\n// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg']\n\nexpand('file{00..10..5}.jpg')\n// => ['file00.jpg', 'file05.jpg', 'file10.jpg']\n\nexpand('{{A..C},{a..c}}')\n// => ['A', 'B', 'C', 'a', 'b', 'c']\n\nexpand('ppp{,config,oe{,conf}}')\n// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf']\n```\n\n## API\n\n```js\nimport { expand } from '@isaacs/brace-expansion'\n```\n\n### const expanded = expand(str, [options])\n\nReturn an array of all possible and valid expansions of `str`. If\nnone are found, `[str]` is returned.\n\nThe `options` object can provide a `max` value to cap the number\nof expansions allowed. This is limited to `100_000` by default,\nto prevent DoS attacks.\n\n```js\nconst expansions = expand('{1..100}'.repeat(5), {\n  max: 100,\n})\n// expansions.length will be 100, not 100^5\n```\n\nValid expansions are:\n\n```js\n;/^(.*,)+(.+)?$/\n// {a,b,...}\n```\n\nA comma separated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`.\n\n```js\n;/^-?\\d+\\.\\.-?\\d+(\\.\\.-?\\d+)?$/\n// {x..y[..incr]}\n```\n\nA numeric sequence from `x` to `y` inclusive, with optional increment.\nIf `x` or `y` start with a leading `0`, all the numbers will be padded\nto have equal length. Negative numbers and backwards iteration work too.\n\n```js\n;/^-?\\d+\\.\\.-?\\d+(\\.\\.-?\\d+)?$/\n// {x..y[..incr]}\n```\n\nAn alphabetic sequence from `x` to `y` inclusive, with optional increment.\n`x` and `y` must be exactly one character, and if given, `incr` must be a\nnumber.\n\nFor compatibility reasons, the string `${` is not eligible for brace expansion.\n",
  "readmeFilename": "README.md"
}