{
  "_id": "pupa",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "keywords": [
    "string",
    "formatting",
    "template",
    "object",
    "format",
    "interpolate",
    "interpolation",
    "templating",
    "expand",
    "simple",
    "replace",
    "placeholders",
    "values",
    "transform",
    "micro"
  ],
  "dist-tags": {
    "latest": "3.3.0"
  },
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "https://sindresorhus.com"
  },
  "_rev": "16-40ba91083d41501e9164c724335b808b",
  "description": "Simple micro templating",
  "readme": "# pupa\n\n> Simple micro templating\n\nUseful when all you need is to fill in some placeholders.\n\n## Install\n\n```sh\nnpm install pupa\n```\n\n## Usage\n\n```js\nimport pupa from 'pupa';\n\npupa('The mobile number of {name} is {phone.mobile}', {\n\tname: 'Sindre',\n\tphone: {\n\t\tmobile: '609 24 363'\n\t}\n});\n//=> 'The mobile number of Sindre is 609 24 363'\n\npupa('I like {0} and {1}', ['🦄', '🐮']);\n//=> 'I like 🦄 and 🐮'\n\n// Double braces encodes the HTML entities to avoid code injection.\npupa('I like {{0}} and {{1}}', ['<br>🦄</br>', '<i>🐮</i>']);\n//=> 'I like &lt;br&gt;🦄&lt;/br&gt; and &lt;i&gt;🐮&lt;/i&gt;'\n\n// Escaped dots in property names\npupa('The version is {package\\\\.version}', {\n\t'package.version': '1.0.0'\n});\n//=> 'The version is 1.0.0'\n\n// Escape literal braces\npupa('Use \\\\{key\\\\} syntax for placeholders', {});\n//=> 'Use {key} syntax for placeholders'\n\npupa('Hi {name}! Use \\\\{key\\\\} for placeholders', {name: 'John'});\n//=> 'Hi John! Use {key} for placeholders'\n```\n\nNote: It does not support nesting placeholders: `pupa('{phone.{type}}', …)`\n\n## API\n\n### pupa(template, data, options?)\n\n#### template\n\nType: `string`\n\nText with placeholders for `data` properties. Supports filter syntax: `{key | filter1 | filter2}`.\n\nUse `\\{` and `\\}` to include literal braces in the output.\n\n#### data\n\nType: `object | unknown[]`\n\nData to interpolate into `template`.\n\nThe keys should be a valid JS identifier or number (`a-z`, `A-Z`, `0-9`).\n\nYou can escape dots in placeholder keys with backslashes (e.g., `{foo\\\\.bar}` accesses the property `'foo.bar'` instead of `foo.bar`).\n\n#### options\n\nType: `object`\n\n##### ignoreMissing\n\nType: `boolean`\\\nDefault: `false`\n\nBy default, throws a `MissingValueError` when a placeholder resolves to `undefined`. When `true`, ignores missing values and leaves the placeholder as-is.\n\n##### transform\n\nType: `function` (default: `({value}) => value`)\n\nTransform function called for each interpolation. If it returns `undefined`, behavior depends on the `ignoreMissing` option. Otherwise, the returned value is converted to a string (and HTML-escaped when using double braces).\n\n##### filters\n\nType: `object`\\\nDefault: `{}`\n\nFilters to apply to values.\n\nFilters can be chained using the pipe syntax: `{name | uppercase | reverse}`.\n\n```js\nimport pupa from 'pupa';\n\nconst filters = {\n\ttrim: value => value.trim(),\n\tuppercase: value => value.toUpperCase()\n};\n\npupa('{name | trim | uppercase}', {name: 'john '}, {filters});\n//=> 'JOHN'\n```\n\n### MissingValueError\n\nExposed for instance checking.\n\n### MissingFilterError\n\nExposed for instance checking.\n\nThrown when a filter is used that doesn't exist in the `filters` option.\n\n## FAQ\n\n### What about template literals?\n\nTemplate literals are evaluated when the code runs. This module evaluates templates when you call it, which is useful when templates or data are created dynamically or come from user input.\n\n### Will filters support parameters?\n\nNo. Filters are simple functions that take a single value and return a transformed value. For complex transformations requiring parameters, use the `transform` option instead.\n\n### Are there built-in filters?\n\nNo. This keeps the package minimal and focused. You can easily define your own filters.\n\n## Related\n\n- [pupa-cli](https://github.com/sindresorhus/pupa-cli) - CLI for this module\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/pupa.git"
  },
  "users": {
    "rubiadias": true,
    "rocket0191": true,
    "flumpus-dev": true
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/pupa/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "pupa",
      "version": "1.0.0",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "str",
        "obj",
        "tpl",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "fmt",
        "transform",
        "micro"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@1.0.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "xo": {
        "esnext": true
      },
      "dist": {
        "shasum": "9a9568a5af7e657b8462a6e9d5328743560ceff6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-1.0.0.tgz",
        "integrity": "sha512-WTQm0CKSL1kn+DQCuu970eBPGmhIcfDyDBa9cbgR/grZ2jLrQmLDHoqqAPWLTRlOHFUrBBmL7FQJBZALA+llQg==",
        "signatures": [
          {
            "sig": "MEYCIQDPpplOFiDJ0t5Mon80jYG80Usw7Qz9MK+jRRbRMOMKWQIhAPLy1oPA43DU9HpRa8/3nSlDkM4nv1M67YaWGlk6+z3B",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "_from": ".",
      "files": [
        "index.js"
      ],
      "_shasum": "9a9568a5af7e657b8462a6e9d5328743560ceff6",
      "engines": {
        "node": ">=4"
      },
      "gitHead": "05a5d7e3cbe99cb303b6d0fda6984c45e59ec45d",
      "scripts": {
        "test": "xo && ava"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "2.15.11",
      "description": "Simple micro templating",
      "directories": {},
      "_nodeVersion": "4.6.2",
      "devDependencies": {
        "xo": "*",
        "ava": "*"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa-1.0.0.tgz_1484024976343_0.21447648899629712",
        "host": "packages-18-east.internal.npmjs.com"
      }
    },
    "2.0.0": {
      "name": "pupa",
      "version": "2.0.0",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@2.0.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "2b385e4c79d7eb7c703a6e24cbeca2c90d8cf697",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-2.0.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-xxy6mj9KTirR7fpsdXrIaC4oUb/uvFfchrC4K3RFxYLQ/G05RlhJIKFF2ayCQnNaFI+fOxGWzEVUhYMXHNljeQ==",
        "signatures": [
          {
            "sig": "MEQCIBb+bCClltEvNYPZN58kCwOu/Jt17SBNtiS/v7a+UY8LAiAe53JZz9HW5ZU5wONudAekw3I36/dz51NwF55T00BKOQ==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4744,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyFHaCRA9TVsSAnZWagAAOgsP/R3HwKyMLuM8eFiwz9Kk\nyiaUZcsEhZ/yE4vaXsiZKuCQdfK5SpOiyaTODVpVGPuCPf9C4QytJyoqUO7q\n2cTMfJ4U79br+lJHVtISlQf3FTrYspH44zBFaqfjpTb5L9YD7DJMy/1Mnr/M\n3J7xuc3wSBwvFd0Zqfav4VUhHigk/hBqT85MufNrJnoxhpQ8uWzX4I6PpWSo\nRYqJ0mzFBeNy5lvesqfhneOmxTJwmrCPcft3K4EjvjSiFhe9ogcyxKChXtXq\n25DDH+W84/qjhrDvOyhoFGJO+6GtB19/b7w8Rg4tH4hCyDJLHbZnTyZpI/LY\nL21vvdcUFwGEQ0/vlybVRx1UJ2r48cyJwXgT51GF8RWeQTngbEuTDV0TRGAt\ntZU9WsyCF5PLKsIZluQ8a6fAw32gpOz7aXoxUlF0tundIWb2a9olLk1atx7v\nMwzn16v+fkTxDJdIgGt2LkBbLypebxIHK5v5kaFuC4+5mP+bkUYxXsocr4OF\nReN0zlwvk9KWJTSrDagT3PLmu7O2uu9BntaahIN80H07+9w3hhcqxE7BTYkb\n/o6Kt3oFqWSchA+pjtj40L6KadNr96x9WV7TNcDRu0hc9rjGjVnZPJeDi3RP\ngZ43xZN+hdQHTL8QhDOp68oTdaeWviVsW4SncF/LmP7D+PQYf6e17vF8N4ch\nXGkD\r\n=3v02\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "engines": {
        "node": ">=8"
      },
      "gitHead": "5fe0eeab4d3b6395ba97c2cc58481c34620a5ecb",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "6.9.0",
      "description": "Simple micro templating",
      "directories": {},
      "_nodeVersion": "10.15.3",
      "dependencies": {
        "escape-goat": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.24.0",
        "ava": "^1.4.1",
        "tsd": "^0.7.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_2.0.0_1556632025797_0.8563917558100542",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.1": {
      "name": "pupa",
      "version": "2.0.1",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@2.0.1",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "dbdc9ff48ffbea4a26a069b6f9f7abb051008726",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-2.0.1.tgz",
        "fileCount": 5,
        "integrity": "sha512-hEJH0s8PXLY/cdXh66tNEQGndDrIKNqNC5xmrysZy3i5C3oEoLna7YAOad+7u125+zH1HNXUmGEkrhb3c2VriA==",
        "signatures": [
          {
            "sig": "MEQCIBjyfXd61YKwS/qRYYCnfP+sC3vk85d2DxTLrWqP5flEAiBI6rSgnO7J7Ge3R5C4fNgVf1jvnbtx/oT9bG/FOClVJA==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4761,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPHN9CRA9TVsSAnZWagAA+mYP/0LV3FFrpkiYzSQddPYQ\nGRfr2gDUpT0x4kSFozAiLBXPQYRxpey7jQs6O3CyY7Nr7GRxVAZB7rG9Ogb0\nnBdsWVYnPM3NRQA/M+j/lM2b5Y4OmzOx28rBpYypg04DHDGVqvq8tr4ZOTNT\nRgr2B4DjbN0xYv2uRdFkN1jNGvulKqX2DO0y/XmVBaIvHAKJsyMSfPAObTAr\nxxcbQ39AcCn7jmiGHjoIWP8j4G8ZV9Os3axSh7HE4TLSZgOVtibPNWdf2Jxg\nHVpPtIi8PLU3uwFTBzog+3Kj9HKD2LX/fEE5dI85Rk5jOYqJajw/yfTFT6oA\nbTZnwhi5eKGQfwc+iMJ9RyJWmIrji+mDOGv1Kz7GeJ77CrkyRZgKZZQPxiUS\nZW1gI3CCYo7hHVjn4a/m3pyzhwPQ6/r2SZsrOi3BnzSsfd5JdNL5scpt2Km9\n/yNPGIk5VHUNwhzNYhjT0w2fBzFOrArkJFDCVFXTsjoPery5jiJ/vP3KqUUF\nmiseisLf0JdNIP5pdQ4C9lYjKqStTokFipQDhuG1sGsCP7aADCd0uMnr6QE7\nkZ5KCsGmvj83/ovO+QXsBT/CUJtggcFY9oh7eExfdd/TbhzCmvNqJLIGdKTM\nabtSoiXp2ARNrvgE5TP+MHu+H98hCuAC4RZ1o961FL4RNWHFECB1b62nAtty\n0wRb\r\n=whiZ\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "engines": {
        "node": ">=8"
      },
      "gitHead": "e4c915c8851e432ff707c3f270e2aaf22116a6c5",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "6.9.0",
      "description": "Simple micro templating",
      "directories": {},
      "_nodeVersion": "10.16.0",
      "dependencies": {
        "escape-goat": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.24.0",
        "ava": "^1.4.1",
        "tsd": "^0.7.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_2.0.1_1564242812501_0.9540517658148819",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.1.0": {
      "name": "pupa",
      "version": "2.1.0",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@2.1.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "9e4ec587952b5e4f2c06fe577b0e7db97e8ef721",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-2.1.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-Pj8EhJzFiPwnf4dEXpuUWwH8M/Yl4vpl4cN2RX1i3R77DWvbY5ZPKni7CCKkOYxz+XKt2fieemsV+WTZbIlYzg==",
        "signatures": [
          {
            "sig": "MEYCIQDKmZO13sNdnr1BGJgmuf0ulf0HwIZ66+55pVWvwM1aUAIhAJphuRHlFRr0fwi8zorGLmlt/rup6wwSLwkZOdBvQ/R7",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4935,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkBHHCRA9TVsSAnZWagAAaPsQAIJubKQuijZf7jWl53DR\n8cdQmODjPir99aARb7NFoepcrVNn0BhBPFri9YehceqUgHHTebeJweviPbiw\ngnH82adUVP19QSwPMrpOmtZcLhIz4/stcg/zFCbUd5NZrNcyE05A20acd+Xz\nTKz/qbcbB6QtE2KuegoAu02h6NJ6lLJr/NCsb8+pBoZs2mfnrgP7lMRMHa+1\nEUmYlxNd3JcOWznwm2uJ1MhrbIuwl1oigCauZPi4A1accjRd25Hs5H/ve6k8\nzO29Wg4RLgdbk0QgWErp2SPQPPZvlAJx6Gs9sFyQ79qJpLgF3moXzbi8YMyd\n4yRc3QsHrX5kvUfMYKKIkKs+uaCW+M62A6sFTQYelB86QYX6CP08bYXnIrJD\n5dqxBccgKuApsN2CPVQNcABMx3/eQFUusnCU7vzWPwEivCQ4RKjaPWR9NsSK\nZaa6cIdJcZQSIpbZXB0wZTzMubYXHq3++j878mSy2Nt4984J4Vncuj4BViO9\nCc8U/3kEPRJU2x+m+IgRQ7zAWJImZH6HKMNlVmjL+Et3wctaho+u1nGfdc1g\nm8crjNw/XlaNHPRjTi+VpLxWtA5tFGX8lh6+BaWA2IRYlDwz/3Np03E65klD\noZdUEyzMYDzGjzWxiSOL54K8AqBhHY13yeickLoyYltagptpew9QlZZI5kSi\n6Nst\r\n=qt+Y\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "engines": {
        "node": ">=8"
      },
      "gitHead": "5bb137186a92fe2304fd71996bb6638c52700da6",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "6.14.8",
      "description": "Simple micro templating",
      "directories": {},
      "_nodeVersion": "14.11.0",
      "dependencies": {
        "escape-goat": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.24.0",
        "ava": "^1.4.1",
        "tsd": "^0.7.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_2.1.0_1603277254422_0.8562450293594945",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.1.1": {
      "name": "pupa",
      "version": "2.1.1",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@2.1.1",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "f5e8fd4afc2c5d97828faa523549ed8744a20d62",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-2.1.1.tgz",
        "fileCount": 5,
        "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==",
        "signatures": [
          {
            "sig": "MEYCIQCO6Db9w0261DgXN4+1I8Ig+mC1JCaeOzoeMlcV/g4XDgIhAKauTa/kZPA2AeN8WPDYNoig7t+r8EEgMRnzklZV4ncs",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4937,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflcUcCRA9TVsSAnZWagAAam0QAKKdxVVIzif0BkvjDxYP\nYCKiSfAGM/Z05qKMVYjl1jnI5WJs6EIP1sVcq3/cOxNVLdbp8MfW7qelVWCl\nFlvwQbJTx8IIaH2pYsciVRH0CwDLekaEgfvxjKXgQ1JbpTMuvcpQty04pmM7\nvjOjytmvFFZoQUkgGP2kL9UVyesAnOI9aYOrrg4L7TPDYQdxrtGJ+NAj0wyS\nVEnkNS3kb5Hnb7mxsDsko4q03CKxFh6773goSkhw9rHDgN6oNOdwIGhDAqDm\nDm/D5vtO9jv8se/7nc1caK/jowIa2USivDzqtX3CMfskwYWW6CyTZ3D2z9cE\nshicJGvJWB6xUKbzHBX66jaJA1UzMzHJ3LpxOVK0eWBLsNHDwWQazq3TVgbD\nK9Tzr8unR8TRYirWC4UzaPsVLXjRLQvcmqijW9pWEuTXtWoAGNgrjxwkEQS9\nUKjycmrT1rIkhEsjaAcpMUs/sZR8PTqTCeTGPwODFmST7xt6llkr7Y/ypX6d\n3p8OaAKLsDg5t2Vs7LTIbvO/1/MT9u+YDds1EQEwhdbWoKfmXsU1uJa600U4\n52uyhFhyvo/LA8In4wkaTCrdVvkW2tAqwX3eG4QbeeeKSN9WIGdeZXsJg4oA\nepOUSyj9EbxIA/lucrAVXUlHdwXpUA9FkytRuni+Gx7igRyOSOJLEAx6Ku3H\nqElp\r\n=doBZ\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "engines": {
        "node": ">=8"
      },
      "gitHead": "10b60a3b0cde712d9d059161a02e6dab6119512b",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "6.14.8",
      "description": "Simple micro templating",
      "directories": {},
      "_nodeVersion": "14.11.0",
      "dependencies": {
        "escape-goat": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.24.0",
        "ava": "^1.4.1",
        "tsd": "^0.7.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_2.1.1_1603650843852_0.7855436442218846",
        "host": "s3://npm-registry-packages"
      }
    },
    "3.0.0": {
      "name": "pupa",
      "version": "3.0.0",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "https://sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@3.0.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "e78cc0ec9b5d533a58665411ab42f965146e3f96",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-3.0.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-DCETo4zTArrMA2RhX/0EArdswKPWfPBZF8NQBU1c825jISY3ah9Q/zcsqJBAAvbCzpBSXnRd0Kl4kj4Zvy1U2w==",
        "signatures": [
          {
            "sig": "MEQCIDjeVHgw1jRT7yNR7NqsDYe9/9QRoxOFG+5cVUQ+OEHxAiAzbm1wZpPVWAFyO5YabrQ84h32sGyJ7arwpeRLhwFViw==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 6909,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7WLuCRA9TVsSAnZWagAAN0QP/j911ugYWFNnhELcEfeb\na8/Vd51ZBjaSFDQM+y6WH6oRre5zGFe4+mH0KMJE9fw+Di4Z8hGaovNQG/QO\nORIxtVDrlbXOdN4HvlAzB61F9+aNjYrxN/kdRrsff+u1JMv3mhDne4AwoVeH\nrcjzfqP5eBnsVbAyR/oe4H2fvEQLvAx3oHmgKuVFTyiq4EQkUFKa65rlWEWx\neOlT8aUyNMSS7GUQdADBXODxXK2g92RQ+h9C+LnTZN+LhDAmnbQe68dGv8ll\nodHMuEZbRnCOZSaFjNLEzO1zgLXXNj+veI1e2zC8ioUPOarzKnqZTf6ndMr3\nelCbWFM9lmreJAxrVXdDxrni5FoY8QAQ2OyCIsztspjJoqXpJUoAX2Bqi6m8\nWw2rGY5aCbE2cSxZTyxAxNxdHOYuJ23/4gCiJMX4hyb3FGk1jmNSz0BNhdGy\nCAc1xywyGzd770SwQYFTzBwZlfaBLvKrOxw+4t5u/enYPmGRZWnpdSa1tTGJ\nUijrSkYFtiHFuFEScirUN7hdoyWC1QanJr/wZsLun3H3zkkYHXiNnCF/shfA\n/jSnhQhn8NP70RmWBb2Jqno2QNTQCuRH8pba3FIYywEykVBrlyEfQg78Qn9C\nYTYs7ARJ8+qhudO5Gk9nWQkUgjOM8YSPjg8OcdqcCkoCYK4UC4qrmwU0mi05\nWe4s\r\n=lTKh\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "type": "module",
      "engines": {
        "node": ">=12.20"
      },
      "exports": "./index.js",
      "funding": "https://github.com/sponsors/sindresorhus",
      "gitHead": "9df7c542e1f95b434674669a1157ef43c5bcd554",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "7.10.0",
      "description": "Simple micro templating",
      "directories": {},
      "_nodeVersion": "12.22.1",
      "dependencies": {
        "escape-goat": "^4.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.41.0",
        "ava": "^3.15.0",
        "tsd": "^0.17.0",
        "typescript": "^4.3.5"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_3.0.0_1626170094001_0.37693329741624915",
        "host": "s3://npm-registry-packages"
      }
    },
    "3.1.0": {
      "name": "pupa",
      "version": "3.1.0",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "https://sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@3.1.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "f15610274376bbcc70c9a3aa8b505ea23f41c579",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-3.1.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==",
        "signatures": [
          {
            "sig": "MEUCIF54tmEyiQiyXvwDeCvA8e7Az8Tb/LKR2GUqsfgNKcArAiEA/Y1lQuOvuT8Doft6hhbtqgubZcd15ct6m8K8sfTvs+I=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 6917,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhP2ASCRA9TVsSAnZWagAAXGgP/2Vg19XCkF28o8IZuKX3\nry67fPCjVZwNB6ox37zglUQfO5WRfg+RXdBMGDZJiRV6Tf+gOTCh8KCE28nZ\nlDyK7Mq216cSpzLtAtdy9qPeJz6kHNzFbBPAtnuoWvkPYVsGxSkjcLUzSUy9\nue/PwXNf5bJzudWAsxH5feO+m2xPulgceu02lau9Qifx2WF55A8LR7cYnlev\nVbBZr2tqgUKVLzOniuHUkZQaN6BfuIiNq7vFIziyw+CzLfxKwPxLDMy+X5uS\nOojLJqbfpdR83dRmsciWZdyLb7qswkmRx2gOf6iENxT+jc7XbNWdJqXq35xk\nrFXXsML8FHAIU/Bj+Zaff/toif6UID5K/CzZs8q+gWFz0U9raatG6NOBQwe0\nOniavwniysI1sRQL08F6UPNyfN9OixgcBRYKXXsBYa2E4rSKnDdVM6ovvbxb\nBdw4cyAUbykbIpZ5sjk/cBfV9uuojl3bCcXV4eVOGbYXUcAIZc0bz/RnSRps\nRK9shtv4DWfsMil7jMENZTAJYkbukNheZ/YZKY9nOzTIh6CPKJExjm1DM8tP\nep+S+sWkmpmckbj0IG29qIBGbGqkMxIf6ZdiE1wmR7DeK60r6vevRYVwdfKz\ngWv9xQhqDQ4Ex6+e1+BEjuOOsBpM6TcsTFXw8e50hY9epIk+orx52oGy1iPL\nl5wJ\r\n=NjP3\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "type": "module",
      "engines": {
        "node": ">=12.20"
      },
      "exports": "./index.js",
      "funding": "https://github.com/sponsors/sindresorhus",
      "gitHead": "17f43fa78e84f7344b583718ea2d374e70e77454",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "7.20.3",
      "description": "Simple micro templating",
      "directories": {},
      "_nodeVersion": "12.22.1",
      "dependencies": {
        "escape-goat": "^4.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.41.0",
        "ava": "^3.15.0",
        "tsd": "^0.17.0",
        "typescript": "^4.3.5"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_3.1.0_1631543314505_0.26047106851744783",
        "host": "s3://npm-registry-packages"
      }
    },
    "3.2.0": {
      "name": "pupa",
      "version": "3.2.0",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "https://sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@3.2.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "5974e89aa0c0c732a8b96211bcfd0ebd086a778d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-3.2.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-sG2emmGYr2k03h3YOy8PfIYSrv6WYPciaURligFB7+G8adrS0Yx9+8ctHAbz+QAwZqUuk+rdHV1aXP5krS6fpg==",
        "signatures": [
          {
            "sig": "MEYCIQC9NFjbEHrsoDAIyNwc6/dIToTfvRmNicwzRNXEp+K6xgIhAPEySJXm0ybKOue9lW7g/iIX0q3gw8yYfKULPaX/ktuc",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 10298
      },
      "type": "module",
      "types": "./index.d.ts",
      "engines": {
        "node": ">=12.20"
      },
      "exports": "./index.js",
      "funding": "https://github.com/sponsors/sindresorhus",
      "gitHead": "ed6d99a6b5b96867f7742109e291905bb7280de5",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "10.9.2",
      "description": "Simple micro templating",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "20.19.1",
      "dependencies": {
        "escape-goat": "^4.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.41.0",
        "ava": "^3.15.0",
        "tsd": "^0.17.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_3.2.0_1757962415775_0.9111640685599662",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "3.2.1": {
      "name": "pupa",
      "version": "3.2.1",
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "author": {
        "url": "https://sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "pupa@3.2.1",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "dist": {
        "shasum": "e28278e4b6e4f5ece1c04404a507ce0d5ecfb4d6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-3.2.1.tgz",
        "fileCount": 5,
        "integrity": "sha512-6koJt2wLdmDICU5Yht9X4mYjQUFcah7cAu9PEgGP+JGbLQpUQFfaCauHLeutygSkt50oMEX7oAQNmUHxGh5GHQ==",
        "signatures": [
          {
            "sig": "MEYCIQDYa4AxLwGNexyJzTsoGGY4YSWjMwIO3Bir6eiNYJoaRwIhAL0bnI41iER+UDcmB+lcJPSa+oVkIvYIFjcGKTEftDfH",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 10353
      },
      "type": "module",
      "types": "./index.d.ts",
      "engines": {
        "node": ">=12.20"
      },
      "exports": "./index.js",
      "funding": "https://github.com/sponsors/sindresorhus",
      "gitHead": "89d2a5870a02511b24c6f9c77a23638eef9c27cd",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/pupa.git",
        "type": "git"
      },
      "_npmVersion": "10.9.2",
      "description": "Simple micro templating",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "18.20.4",
      "dependencies": {
        "escape-goat": "^4.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.41.0",
        "ava": "^3.15.0",
        "tsd": "^0.17.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/pupa_3.2.1_1757962978849_0.6448220738446873",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "3.3.0": {
      "name": "pupa",
      "version": "3.3.0",
      "description": "Simple micro templating",
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/sindresorhus/pupa.git"
      },
      "funding": "https://github.com/sponsors/sindresorhus",
      "author": {
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com",
        "url": "https://sindresorhus.com"
      },
      "type": "module",
      "exports": "./index.js",
      "types": "./index.d.ts",
      "sideEffects": false,
      "engines": {
        "node": ">=12.20"
      },
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "keywords": [
        "string",
        "formatting",
        "template",
        "object",
        "format",
        "interpolate",
        "interpolation",
        "templating",
        "expand",
        "simple",
        "replace",
        "placeholders",
        "values",
        "transform",
        "micro"
      ],
      "dependencies": {
        "escape-goat": "^4.0.0"
      },
      "devDependencies": {
        "ava": "^3.15.0",
        "tsd": "^0.17.0",
        "xo": "^0.41.0"
      },
      "_id": "pupa@3.3.0",
      "gitHead": "903d6031c861f839e1285ff9777939c666bceacf",
      "bugs": {
        "url": "https://github.com/sindresorhus/pupa/issues"
      },
      "homepage": "https://github.com/sindresorhus/pupa#readme",
      "_nodeVersion": "20.19.5",
      "_npmVersion": "10.9.2",
      "dist": {
        "integrity": "sha512-LjgDO2zPtoXP2wJpDjZrGdojii1uqO0cnwKoIoUzkfS98HDmbeiGmYiXo3lXeFlq2xvne1QFQhwYXSUCLKtEuA==",
        "shasum": "bc4036f9e8920c08ad472bc18fb600067cb83810",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pupa/-/pupa-3.3.0.tgz",
        "fileCount": 5,
        "unpackedSize": 11496,
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEUCIDPirpS1mjlQ+SZRhoyWazz9h0CL44dsGFIw6HJOKFSCAiEAguMGcIvLHzC4yql0EawX/oVX9nTTWJOb2RkUJ/i81RI="
          }
        ]
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/pupa_3.3.0_1758094437028_0.4745040519300465"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "pupa",
  "time": {
    "created": "2017-01-10T05:09:38.131Z",
    "modified": "2026-05-19T14:46:59.977Z",
    "1.0.0": "2017-01-10T05:09:38.131Z",
    "2.0.0": "2019-04-30T13:47:05.949Z",
    "2.0.1": "2019-07-27T15:53:32.679Z",
    "2.1.0": "2020-10-21T10:47:34.592Z",
    "2.1.1": "2020-10-25T18:34:03.969Z",
    "3.0.0": "2021-07-13T09:54:54.321Z",
    "3.1.0": "2021-09-13T14:28:34.620Z",
    "3.2.0": "2025-09-15T18:53:35.959Z",
    "3.2.1": "2025-09-15T19:02:59.013Z",
    "3.3.0": "2025-09-17T07:33:57.213Z"
  },
  "readmeFilename": "readme.md",
  "homepage": "https://github.com/sindresorhus/pupa#readme"
}