{"_id":"ts-replace-all","_rev":"1-d54cf0df437b49b44b8a89c89b187e58","name":"ts-replace-all","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"ts-replace-all","version":"1.0.0","keywords":["all","global","many","match","matches","modify","multiple","needle","polyfill","replace-all","replace","replaceAll","replacement","replacer","search","string","String","sub-string","substring","text"],"repository":{"type":"git","url":"git+https://github.com/LinusU/ts-replace-all.git"},"license":"MIT","dependencies":{"core-js":"^3.4.1"},"gitHead":"c3834e99383076ab945508d643dd4515c70a767d","description":"This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.","bugs":{"url":"https://github.com/LinusU/ts-replace-all/issues"},"homepage":"https://github.com/LinusU/ts-replace-all#readme","_id":"ts-replace-all@1.0.0","_nodeVersion":"12.12.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-6uBtdkw3jHXkPtx/e9xB/5vcngMm17CyJYsS2YZeQ+9FdRnt6Ev5g931Sg2p+dxbtMGoCm13m3ax/obicTZIkQ==","shasum":"ef28283ccdb4da7d69fb03cf543e09e51711659b","tarball":"https://registry.npmjs.org/ts-replace-all/-/ts-replace-all-1.0.0.tgz","fileCount":4,"unpackedSize":1908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec5xSCRA9TVsSAnZWagAAYNoQAI1yAhYB3ZmTaTt1zbj1\nr1GiGf5+NQSJKYRJhj7UVZomlZumnPHkWL7bo+la1DIWbNRPQLUdEv5KGAyo\n25t1C+z0cAp4UKPdUgMSdI3yoCBzmDU5tnO+cwhH4n9T2S+b+BkhqyTJxsVW\nkcTc1TXQX7AjOJPsBgaO8g/q08pKcsY9MyaXyoVjHNbHxmOZEP3LJDlTmJFc\n2KJmGekcy04kw/qIpOTkJN4zCnICG8pvy7dn1Q59mwHEfrbY3XaUGFuidf/+\nEyVOwazj9fNpmPE0vUxEVOgkyAVhMTZfoyRD4VZ54SqoxU0dmEMGmHKpO1mf\nEUW8gIKS0eUpWe7cF5w8cOMeAzi/qDwYTIByVwEuPe+N+8KXgEn7cWgIvbjK\n2haG2VEP/zOe/6gIsoJdMBsqodfyGQzC2gzyUYi+YXOv47VE6Qz0DL0qGdmH\nMB+WUaksoKQDzfAiFeqomkV+HXfzT+W/bwgApOhyq16OhkpjtOKKaWOLT+60\nk7p1k+48Vz9HkpeL4seUZYJECk5UVoVtP1IsNHcAkeshgJ+0uYW8wjZ570nH\nOtb6btpWfCvsBU17Mcx/yyRQabzN6/C2KhL0EFwVxfgaCZ8qmoiBSqDSIRE/\nfAri1YPRNEiqdM9XijjKlehgNxTZHpqqDSDGsI/yYvdKPEGefjRzR/z6DOeh\nGlXy\r\n=uR7g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwLCjYKVBDivJScY0tiVS9+x/DKJvWT/khngjXoXRN/gIgUhHJoNehXacVhGhk14B7K8Z5rrXJLQRjEr0l7/yfsuk="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-replace-all_1.0.0_1584634961644_0.7042568375666931"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-19T16:22:41.644Z","1.0.0":"2020-03-19T16:22:41.792Z","modified":"2022-05-22T07:44:42.430Z"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"description":"This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.","homepage":"https://github.com/LinusU/ts-replace-all#readme","keywords":["all","global","many","match","matches","modify","multiple","needle","polyfill","replace-all","replace","replaceAll","replacement","replacer","search","string","String","sub-string","substring","text"],"repository":{"type":"git","url":"git+https://github.com/LinusU/ts-replace-all.git"},"bugs":{"url":"https://github.com/LinusU/ts-replace-all/issues"},"license":"MIT","readme":"# `String#replaceAll` polyfill for TypeScript\n\nThis package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.\n\nThe `replaceAll` function is defined in [this TC39 proposal](https://github.com/tc39/proposal-string-replaceall).\n\n## Installation\n\n```sh\nnpm install --save ts-replace-all\n```\n\n## Usage\n\n```typescript\nimport 'ts-replace-all'\n\n'test'.replaceAll('t', '1')\n'test'.replaceAll('t', () => '2')\n'test'.replaceAll(/t/g, '3')\n'test'.replaceAll(/t/g, () => '4')\n```\n\n## API\n\nThe API specification is available in [the TC39 proposal](https://github.com/tc39/proposal-string-replaceall).\n","readmeFilename":"readme.md"}