{"_id":"pupa","_rev":"12-d1c708778dede32680a88f60cc7ae049","name":"pupa","description":"Simple micro templating","dist-tags":{"latest":"3.1.0"},"versions":{"1.0.0":{"name":"pupa","version":"1.0.0","description":"Simple micro templating","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pupa.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["string","formatting","template","object","format","interpolate","interpolation","templating","str","obj","tpl","expand","simple","replace","placeholders","values","fmt","transform","micro"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"05a5d7e3cbe99cb303b6d0fda6984c45e59ec45d","bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"homepage":"https://github.com/sindresorhus/pupa#readme","_id":"pupa@1.0.0","_shasum":"9a9568a5af7e657b8462a6e9d5328743560ceff6","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9a9568a5af7e657b8462a6e9d5328743560ceff6","tarball":"https://registry.npmjs.org/pupa/-/pupa-1.0.0.tgz","integrity":"sha512-WTQm0CKSL1kn+DQCuu970eBPGmhIcfDyDBa9cbgR/grZ2jLrQmLDHoqqAPWLTRlOHFUrBBmL7FQJBZALA+llQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPpplOFiDJ0t5Mon80jYG80Usw7Qz9MK+jRRbRMOMKWQIhAPLy1oPA43DU9HpRa8/3nSlDkM4nv1M67YaWGlk6+z3B"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pupa-1.0.0.tgz_1484024976343_0.21447648899629712"},"directories":{}},"2.0.0":{"name":"pupa","version":"2.0.0","description":"Simple micro templating","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pupa.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","formatting","template","object","format","interpolate","interpolation","templating","expand","simple","replace","placeholders","values","transform","micro"],"dependencies":{"escape-goat":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"5fe0eeab4d3b6395ba97c2cc58481c34620a5ecb","bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"homepage":"https://github.com/sindresorhus/pupa#readme","_id":"pupa@2.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-xxy6mj9KTirR7fpsdXrIaC4oUb/uvFfchrC4K3RFxYLQ/G05RlhJIKFF2ayCQnNaFI+fOxGWzEVUhYMXHNljeQ==","shasum":"2b385e4c79d7eb7c703a6e24cbeca2c90d8cf697","tarball":"https://registry.npmjs.org/pupa/-/pupa-2.0.0.tgz","fileCount":5,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBb+bCClltEvNYPZN58kCwOu/Jt17SBNtiS/v7a+UY8LAiAe53JZz9HW5ZU5wONudAekw3I36/dz51NwF55T00BKOQ=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pupa_2.0.0_1556632025797_0.8563917558100542"},"_hasShrinkwrap":false},"2.0.1":{"name":"pupa","version":"2.0.1","description":"Simple micro templating","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pupa.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","formatting","template","object","format","interpolate","interpolation","templating","expand","simple","replace","placeholders","values","transform","micro"],"dependencies":{"escape-goat":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"e4c915c8851e432ff707c3f270e2aaf22116a6c5","bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"homepage":"https://github.com/sindresorhus/pupa#readme","_id":"pupa@2.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-hEJH0s8PXLY/cdXh66tNEQGndDrIKNqNC5xmrysZy3i5C3oEoLna7YAOad+7u125+zH1HNXUmGEkrhb3c2VriA==","shasum":"dbdc9ff48ffbea4a26a069b6f9f7abb051008726","tarball":"https://registry.npmjs.org/pupa/-/pupa-2.0.1.tgz","fileCount":5,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjyfXd61YKwS/qRYYCnfP+sC3vk85d2DxTLrWqP5flEAiBI6rSgnO7J7Ge3R5C4fNgVf1jvnbtx/oT9bG/FOClVJA=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pupa_2.0.1_1564242812501_0.9540517658148819"},"_hasShrinkwrap":false},"2.1.0":{"name":"pupa","version":"2.1.0","description":"Simple micro templating","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pupa.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","formatting","template","object","format","interpolate","interpolation","templating","expand","simple","replace","placeholders","values","transform","micro"],"dependencies":{"escape-goat":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"5bb137186a92fe2304fd71996bb6638c52700da6","bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"homepage":"https://github.com/sindresorhus/pupa#readme","_id":"pupa@2.1.0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-Pj8EhJzFiPwnf4dEXpuUWwH8M/Yl4vpl4cN2RX1i3R77DWvbY5ZPKni7CCKkOYxz+XKt2fieemsV+WTZbIlYzg==","shasum":"9e4ec587952b5e4f2c06fe577b0e7db97e8ef721","tarball":"https://registry.npmjs.org/pupa/-/pupa-2.1.0.tgz","fileCount":5,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKmZO13sNdnr1BGJgmuf0ulf0HwIZ66+55pVWvwM1aUAIhAJphuRHlFRr0fwi8zorGLmlt/rup6wwSLwkZOdBvQ/R7"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pupa_2.1.0_1603277254422_0.8562450293594945"},"_hasShrinkwrap":false},"2.1.1":{"name":"pupa","version":"2.1.1","description":"Simple micro templating","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pupa.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["string","formatting","template","object","format","interpolate","interpolation","templating","expand","simple","replace","placeholders","values","transform","micro"],"dependencies":{"escape-goat":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"10b60a3b0cde712d9d059161a02e6dab6119512b","bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"homepage":"https://github.com/sindresorhus/pupa#readme","_id":"pupa@2.1.1","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==","shasum":"f5e8fd4afc2c5d97828faa523549ed8744a20d62","tarball":"https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz","fileCount":5,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO6Db9w0261DgXN4+1I8Ig+mC1JCaeOzoeMlcV/g4XDgIhAKauTa/kZPA2AeN8WPDYNoig7t+r8EEgMRnzklZV4ncs"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pupa_2.1.1_1603650843852_0.7855436442218846"},"_hasShrinkwrap":false},"3.0.0":{"name":"pupa","version":"3.0.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","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","typescript":"^4.3.5","xo":"^0.41.0"},"gitHead":"9df7c542e1f95b434674669a1157ef43c5bcd554","bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"homepage":"https://github.com/sindresorhus/pupa#readme","_id":"pupa@3.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-DCETo4zTArrMA2RhX/0EArdswKPWfPBZF8NQBU1c825jISY3ah9Q/zcsqJBAAvbCzpBSXnRd0Kl4kj4Zvy1U2w==","shasum":"e78cc0ec9b5d533a58665411ab42f965146e3f96","tarball":"https://registry.npmjs.org/pupa/-/pupa-3.0.0.tgz","fileCount":5,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjeVHgw1jRT7yNR7NqsDYe9/9QRoxOFG+5cVUQ+OEHxAiAzbm1wZpPVWAFyO5YabrQ84h32sGyJ7arwpeRLhwFViw=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pupa_3.0.0_1626170094001_0.37693329741624915"},"_hasShrinkwrap":false},"3.1.0":{"name":"pupa","version":"3.1.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","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","typescript":"^4.3.5","xo":"^0.41.0"},"gitHead":"17f43fa78e84f7344b583718ea2d374e70e77454","bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"homepage":"https://github.com/sindresorhus/pupa#readme","_id":"pupa@3.1.0","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"integrity":"sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==","shasum":"f15610274376bbcc70c9a3aa8b505ea23f41c579","tarball":"https://registry.npmjs.org/pupa/-/pupa-3.1.0.tgz","fileCount":5,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF54tmEyiQiyXvwDeCvA8e7Az8Tb/LKR2GUqsfgNKcArAiEA/Y1lQuOvuT8Doft6hhbtqgubZcd15ct6m8K8sfTvs+I="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pupa_3.1.0_1631543314505_0.26047106851744783"},"_hasShrinkwrap":false}},"readme":"# pupa\n\n> Simple micro templating\n\nUseful when all you need is to fill in some placeholders.\n\n## Install\n\n```\n$ npm 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\n## API\n\n### pupa(template, data, options?)\n\n#### template\n\nType: `string`\n\nText with placeholders for `data` properties.\n\n#### data\n\nType: `object | unknown[]`\n\nData to interpolate into `template`.\n\n#### options\n\nType: `object`\n\n##### ignoreMissing\n\nType: `boolean`\\\nDefault: `false`\n\nBy default, Pupa throws a `MissingValueError` when a placeholder resolves to `undefined`. With this option set to `true`, it simply ignores it and leaves the placeholder as is.\n\n##### transform\n\nType: `((data: {value: unknown; key: string}) => unknown) | undefined` (default: `({value}) => value`)\n\nPerforms arbitrary operation for each interpolation. If the returned value was `undefined`, it behaves differently depending on the `ignoreMissing` option. Otherwise, the returned value will be interpolated into a string (and escaped when double-braced) and embedded into the template.\n\n### MissingValueError\n\nExposed for instance checking.\n\n## FAQ\n\n### What about template literals?\n\nTemplate literals expand on creation. This module expands the template on execution, which can be useful if either or both template and data are lazily created or user-supplied.\n\n## Related\n\n- [pupa-cli](https://github.com/sindresorhus/pupa-cli) - CLI for this module\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-06-17T00:12:20.169Z","created":"2017-01-10T05:09:38.131Z","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"},"homepage":"https://github.com/sindresorhus/pupa#readme","keywords":["string","formatting","template","object","format","interpolate","interpolation","templating","expand","simple","replace","placeholders","values","transform","micro"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/pupa.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/pupa/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"rocket0191":true,"rubiadias":true,"flumpus-dev":true}}