{"_id":"@stdlib/string-replace","_rev":"4679235","name":"@stdlib/string-replace","description":"Replace search occurrences with a replacement string.","dist-tags":{"latest":"0.2.3"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"time":{"modified":"2026-04-11T00:29:56.000Z","created":"2021-06-14T17:30:25.491Z","0.2.3":"2026-02-07T23:37:28.913Z","0.2.2":"2024-07-27T01:57:06.586Z","0.2.1":"2024-02-22T01:39:36.939Z","0.2.0":"2024-02-14T04:23:43.884Z","0.1.1":"2023-10-04T00:05:18.929Z","0.1.0":"2023-09-22T22:42:05.810Z","0.0.11":"2022-07-12T14:25:14.468Z","0.0.10":"2022-02-16T18:24:56.949Z","0.0.9":"2021-08-22T20:47:20.603Z","0.0.8":"2021-07-09T23:14:32.788Z","0.0.7":"2021-07-06T23:37:51.676Z","0.0.6":"2021-06-27T22:13:24.115Z","0.0.5":"2021-06-16T03:40:34.986Z","0.0.4":"2021-06-16T01:32:17.835Z","0.0.3":"2021-06-15T23:42:18.137Z","0.0.2":"2021-06-15T14:52:17.355Z","0.0.1":"2021-06-14T17:30:25.491Z"},"users":{},"author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"versions":{"0.2.3":{"name":"@stdlib/string-replace","version":"0.2.3","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"doc":"./docs","lib":"./lib","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.2.3","@stdlib/assert-is-regexp":"^0.2.3","@stdlib/assert-is-string":"^0.2.3","@stdlib/string-base-replace":"^0.2.3","@stdlib/string-format":"^0.2.3","@stdlib/utils-escape-regexp-string":"^0.2.3","@stdlib/error-tools-fmtprodmsg":"^0.2.3"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"_id":"@stdlib/string-replace@0.2.3","gitHead":"65ac870bcc9363ee25cdde72514d9e0783b5395e","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"shasum":"2cb463afffd68c031f4f13f81a5830a800f364fc","size":8794,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.2.3.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-replace_0.2.3_1770507448765_0.10994615620798465"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-07T23:37:28.913Z","publish_time":1770507448913,"_source_registry_name":"default","_cnpm_publish_time":1770507448913},"0.2.2":{"name":"@stdlib/string-replace","version":"0.2.2","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"doc":"./docs","lib":"./lib","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.2.2","@stdlib/assert-is-regexp":"^0.2.2","@stdlib/assert-is-string":"^0.2.2","@stdlib/string-base-replace":"^0.2.2","@stdlib/string-format":"^0.2.2","@stdlib/utils-escape-regexp-string":"^0.2.2","@stdlib/error-tools-fmtprodmsg":"^0.2.2"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"33e8edbac6d7d96a3152c652d61ff6aea90af713","_id":"@stdlib/string-replace@0.2.2","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"c4a526abdec7ec031beeb87f98c4c9356fdce969","size":8791,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.2.2.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.2.2_1722045426446_0.018047435833062675"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-27T01:57:06.586Z","publish_time":1722045426586,"_source_registry_name":"default","_cnpm_publish_time":1722045426586},"0.2.1":{"name":"@stdlib/string-replace","version":"0.2.1","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"doc":"./docs","lib":"./lib","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.2.1","@stdlib/assert-is-regexp":"^0.2.1","@stdlib/assert-is-string":"^0.2.1","@stdlib/string-base-replace":"^0.2.1","@stdlib/string-format":"^0.2.1","@stdlib/utils-escape-regexp-string":"^0.2.1"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"39b81766b9d8a5e89ba4a26e5ea07f6413b46973","_id":"@stdlib/string-replace@0.2.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"35f7c6725ddf78bfcf016b69b23344f00efbad74","size":8785,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.2.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.2.1_1708565976792_0.7002633220949277"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-22T01:39:36.939Z","publish_time":1708565976939,"_source_registry_name":"default","_cnpm_publish_time":1708565976939},"0.2.0":{"name":"@stdlib/string-replace","version":"0.2.0","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.2.0","@stdlib/assert-is-regexp":"^0.2.0","@stdlib/assert-is-string":"^0.2.0","@stdlib/string-base-replace":"^0.2.0","@stdlib/string-format":"^0.2.0","@stdlib/utils-escape-regexp-string":"^0.2.0"},"devDependencies":{"@stdlib/string-capitalize":"^0.1.1","@stdlib/string-replace":"^0.1.1","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"7137673f0798ef13d7c9fd7becf78e557b1d583b","_id":"@stdlib/string-replace@0.2.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"373d15af50d607b93e39779b378ceb1845d0ec31","size":8919,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.2.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.2.0_1707884623736_0.6031231807527264"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T04:23:43.884Z","publish_time":1707884623884,"_source_registry_name":"default","_cnpm_publish_time":1707884623884},"0.1.1":{"name":"@stdlib/string-replace","version":"0.1.1","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.1.1","@stdlib/assert-is-regexp":"^0.1.1","@stdlib/assert-is-string":"^0.1.1","@stdlib/string-base-replace":"^0.1.1","@stdlib/string-format":"^0.1.1","@stdlib/utils-escape-regexp-string":"^0.1.1"},"devDependencies":{"@stdlib/string-capitalize":"^0.1.0","@stdlib/string-replace":"^0.1.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"836b37cf688bfa381fcb3cb3a2dd327f0a94ad19","_id":"@stdlib/string-replace@0.1.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"e8f17a9df890e3b34f46edab369a63f35d8694c6","size":9062,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.1.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.1.1_1696377918742_0.6015850875772206"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-04T00:05:18.929Z","publish_time":1696377918929,"_source_registry_name":"default","_cnpm_publish_time":1696377918929},"0.1.0":{"name":"@stdlib/string-replace","version":"0.1.0","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.1.0","@stdlib/assert-is-regexp":"^0.1.0","@stdlib/assert-is-string":"^0.1.0","@stdlib/string-base-replace":"^0.1.0","@stdlib/string-format":"^0.1.0","@stdlib/utils-escape-regexp-string":"^0.1.0"},"devDependencies":{"@stdlib/string-capitalize":"^0.0.9","@stdlib/string-replace":"^0.0.11","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"41f86d99cbb03d63f33b26b5a608ebc8703e045f","_id":"@stdlib/string-replace@0.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"292a0e80fbb6dd248530c3a872daf9179dd57536","size":9068,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.1.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.1.0_1695422525543_0.1232851048556407"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T22:42:05.810Z","publish_time":1695422525810,"_source_registry_name":"default","_cnpm_publish_time":1695422525810},"0.0.11":{"name":"@stdlib/string-replace","version":"0.0.11","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/string-format":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"aeda443ef8343fd26b8c784466e39be0ff58cd6d","_id":"@stdlib/string-replace@0.0.11","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"5e8790cdf4d9805ab78cc5798ab3d364dfbf5016","size":8720,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.11.tgz"},"_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.11_1657635914290_0.10049633896538013"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-12T15:30:16.671Z","publish_time":1657635914468,"_cnpm_publish_time":1657635914468},"0.0.10":{"name":"@stdlib/string-replace","version":"0.0.10","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"a3949f84f3622c5ab0a1de757ba19c8b40eb00b9","_id":"@stdlib/string-replace@0.0.10","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"7614652305b73213e4af27fa30bd944564da7ac0","size":11416,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.10.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.10_1645035896803_0.8107104021654306"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-16T18:25:04.307Z","publish_time":1645035896949,"_cnpm_publish_time":1645035896949},"0.0.9":{"name":"@stdlib/string-replace","version":"0.0.9","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"c78ef6e7e9b9dcc44132de0331faae6c8570435e","_id":"@stdlib/string-replace@0.0.9","_nodeVersion":"16.7.0","_npmVersion":"7.20.3","dist":{"shasum":"ae03ed021bba0921f90648c554faf369aeef2fad","size":11280,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.9.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.9_1629665240431_0.572276475793964"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:28.884Z","publish_time":1629665240603,"_cnpm_publish_time":1629665240603},"0.0.8":{"name":"@stdlib/string-replace","version":"0.0.8","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"d6ed2b83b2a57781bccbcd902c611ce5be02a339","_id":"@stdlib/string-replace@0.0.8","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"712bd41dc526eaa3b80040fab3f0d757a90eb1fd","size":11368,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.8.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.8_1625872472601_0.8855366462784844"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:27.173Z","publish_time":1625872472788,"_cnpm_publish_time":1625872472788},"0.0.7":{"name":"@stdlib/string-replace","version":"0.0.7","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"07f134fc7bfddfbda08f9d29317f013a444a0703","_id":"@stdlib/string-replace@0.0.7","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"6a74b603910f32efffa9488eae2bf5921161bd31","size":11367,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.7.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.7_1625614671538_0.0453851310227551"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:25.501Z","publish_time":1625614671676,"_cnpm_publish_time":1625614671676},"0.0.6":{"name":"@stdlib/string-replace","version":"0.0.6","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"168d86539ce4196946275421d60877b7cd800ffa","_id":"@stdlib/string-replace@0.0.6","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"835a092880cd0f851817f23c40ca3d9e7baabac4","size":11361,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.6.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.6_1624832003981_0.4349831737595302"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:23.843Z","publish_time":1624832004115,"_cnpm_publish_time":1624832004115},"0.0.5":{"name":"@stdlib/string-replace","version":"0.0.5","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"efd4e14a3478b89d004e62e5e17cce549b5a706e","_id":"@stdlib/string-replace@0.0.5","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"af3fb66637b01df30f522698846970e95477b10c","size":11297,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.5.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.5_1623814834870_0.39105400332047147"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:22.184Z","publish_time":1623814834986,"_cnpm_publish_time":1623814834986},"0.0.4":{"name":"@stdlib/string-replace","version":"0.0.4","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"aec1ff632fcdf644e36a1e83f25895c016da6308","_id":"@stdlib/string-replace@0.0.4","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"2d689cd725645d41cea39798b565ae954896dd8e","size":11299,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.4.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.4_1623807137684_0.9650290981538006"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:20.477Z","publish_time":1623807137835,"_cnpm_publish_time":1623807137835},"0.0.3":{"name":"@stdlib/string-replace","version":"0.0.3","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"a4d6afce9d1c33fd6b83c75549d7fc50b182a265","_id":"@stdlib/string-replace@0.0.3","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"50e73f57ca410d149a980579a30eac2a78879e07","size":14375,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.3.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.3_1623800537932_0.8715500956720681"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:18.768Z","publish_time":1623800538137,"_cnpm_publish_time":1623800538137},"0.0.2":{"name":"@stdlib/string-replace","version":"0.0.2","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"a64f88e9f712c7d084b4cce02c9d51b61141f44c","_id":"@stdlib/string-replace@0.0.2","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"b5043cd795a89f001d5caf9a4f23f574d14a1a72","size":14365,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.2.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.2_1623768737195_0.03276103560028676"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:17.070Z","publish_time":1623768737355,"_cnpm_publish_time":1623768737355},"0.0.1":{"name":"@stdlib/string-replace","version":"0.0.1","description":"Replace search occurrences with a replacement string.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"replace":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/string-replace.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-regexp":"^0.0.x","@stdlib/assert-is-regexp-string":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-read-stdin":"^0.0.x","@stdlib/regexp-eol":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-escape-regexp-string":"^0.0.x","@stdlib/utils-regexp-from-string":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-capitalize":"^0.0.x","@stdlib/string-from-code-point":"^0.0.x","@stdlib/string-replace":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdstring","utilities","utility","utils","util","string","str","search","replace","regex","regular expression","regexp","regular","expression"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"2d158348d2bb338ccd693ea708233431659f0fbc","_id":"@stdlib/string-replace@0.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"46eefa0a76e0aba580c7ffce9107a09721306a5c","size":14416,"noattachment":false,"key":"/@stdlib/string-replace/-/@stdlib/string-replace-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/string-replace/download/@stdlib/string-replace-0.0.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-replace_0.0.1_1623691825369_0.9161428679938493"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:15.376Z","publish_time":1623691825491,"_cnpm_publish_time":1623691825491}},"readme":"<!--\n\n@license Apache-2.0\n\nCopyright (c) 2018 The Stdlib Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n-->\n\n\n<details>\n  <summary>\n    About stdlib...\n  </summary>\n  <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>\n  <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>\n  <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>\n  <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href=\"https://github.com/stdlib-js/stdlib\">GitHub</a>, and please consider <a href=\"https://opencollective.com/stdlib\">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>\n</details>\n\n# replace\n\n[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->\n\n> Replace search occurrences with a replacement string.\n\n<section class=\"installation\">\n\n## Installation\n\n```bash\nnpm install @stdlib/string-replace\n```\n\n</section>\n\n<section class=\"usage\">\n\n## Usage\n\n```javascript\nvar replace = require( '@stdlib/string-replace' );\n```\n\n#### replace( str, search, newval )\n\nReplaces search occurrences with a replacement string.\n\n```javascript\nvar out = replace( 'beep', 'e', 'o' );\n// returns 'boop'\n```\n\nIf provided a function as the [third argument][mdn-string-replace], the function is invoked for each match, and the function's return value is used as the replacement string.\n\n```javascript\nfunction replacer( match, p1 ) {\n    return '/' + p1 + '/';\n}\nvar str = 'Oranges and lemons';\nvar out = replace( str, /([^\\s]+)/gi, replacer );\n// returns '/Oranges/ /and/ /lemons/'\n```\n\n</section>\n\n<!-- /.usage -->\n\n<section class=\"notes\">\n\n## Notes\n\n-   The function has one notable difference from [`String.prototype.replace`][mdn-string-replace]. When provided a string as the `search` value, the function replaces **all** occurrences. To remove only the first match, use a regular expression.\n\n    ```javascript\n    var out = replace( 'beep', /e/, 'o' );\n    // returns 'boep'\n    ```\n\n</section>\n\n<!-- /.notes -->\n\n<section class=\"examples\">\n\n## Examples\n\n<!-- eslint no-undef: \"error\" -->\n\n```javascript\nvar capitalize = require( '@stdlib/string-capitalize' );\nvar replace = require( '@stdlib/string-replace' );\n\nvar out = replace( 'beep', 'e', 'o' );\n// returns 'boop'\n\nout = replace( 'Hello World', /world/i, 'Mr. President' );\n// returns 'Hello Mr. President'\n\nfunction replacer( match, p1 ) {\n    return capitalize( p1 );\n}\nvar str = 'Oranges and lemons say the bells of St. Clement\\'s';\nout = replace( str, /([^\\s]*)/gi, replacer );\n// returns 'Oranges And Lemons Say The Bells Of St. Clement\\'s'\n```\n\n</section>\n\n<!-- /.examples -->\n\n\n\n<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->\n\n<section class=\"related\">\n\n## See Also\n\n-   <span class=\"package-name\">[`@stdlib/string-replace-cli`][@stdlib/string-replace-cli]</span><span class=\"delimiter\">: </span><span class=\"description\">CLI package for use as a command-line utility.</span>\n\n\n</section>\n\n<!-- /.related -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n\n<section class=\"main-repo\" >\n\n* * *\n\n## Notice\n\nThis package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.\n\nFor more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].\n\n#### Community\n\n[![Chat][chat-image]][chat-url]\n\n---\n\n## License\n\nSee [LICENSE][stdlib-license].\n\n\n## Copyright\n\nCopyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].\n\n</section>\n\n<!-- /.stdlib -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"links\">\n\n[@stdlib/string-replace-cli]: https://www.npmjs.com/package/@stdlib/string-replace-cli\n\n[npm-image]: http://img.shields.io/npm/v/@stdlib/string-replace.svg\n[npm-url]: https://npmjs.org/package/@stdlib/string-replace\n\n[test-image]: https://github.com/stdlib-js/string-replace/actions/workflows/test.yml/badge.svg?branch=v0.2.3\n[test-url]: https://github.com/stdlib-js/string-replace/actions/workflows/test.yml?query=branch:v0.2.3\n\n[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-replace/main.svg\n[coverage-url]: https://codecov.io/github/stdlib-js/string-replace?branch=main\n\n<!--\n\n[dependencies-image]: https://img.shields.io/david/stdlib-js/string-replace.svg\n[dependencies-url]: https://david-dm.org/stdlib-js/string-replace/main\n\n-->\n\n[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg\n[chat-url]: https://stdlib.zulipchat.com\n\n[stdlib]: https://github.com/stdlib-js/stdlib\n\n[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors\n\n[cli-section]: https://github.com/stdlib-js/string-replace#cli\n[cli-url]: https://github.com/stdlib-js/string-replace/tree/cli\n[@stdlib/string-replace]: https://github.com/stdlib-js/string-replace/tree/main\n\n[umd]: https://github.com/umdjs/umd\n[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[deno-url]: https://github.com/stdlib-js/string-replace/tree/deno\n[deno-readme]: https://github.com/stdlib-js/string-replace/blob/deno/README.md\n[umd-url]: https://github.com/stdlib-js/string-replace/tree/umd\n[umd-readme]: https://github.com/stdlib-js/string-replace/blob/umd/README.md\n[esm-url]: https://github.com/stdlib-js/string-replace/tree/esm\n[esm-readme]: https://github.com/stdlib-js/string-replace/blob/esm/README.md\n[branches-url]: https://github.com/stdlib-js/string-replace/blob/main/branches.md\n\n[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/string-replace/main/LICENSE\n\n[mdn-string-replace]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace\n\n[standard-streams]: https://en.wikipedia.org/wiki/Standard_streams\n\n[mdn-regexp]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\n\n</section>\n\n<!-- /.links -->\n","_attachments":{},"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"license":"Apache-2.0"}