Skip to content
JS
Package

@stdlib/string-replace

Replace search occurrences with a replacement string.

v0.2.3, 7 Feb 2026Apache-2.0CommonJSTypes: BundledUtility librariesStrings and text
$ npm install @stdlib/string-replace

Key numbers

As of 25 Sept 2026
Weekly downloads
595.3k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
7
Direct, from package.json
Last release
7 months ago
v0.2.3
GitHub stars
4
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
10

No weekly download data in the snapshot.

595,264 downloads last week, 2,743,688 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
117 in total
Latest version
0.2.3, 7 Feb 20267 months ago
First published
14 Jun 2021
Last push to GitHub
10 Sept 202615 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
10
Dependents on npm
20

Major versions

  1. v0 first release 0.0.1, 14 Jun 2021

Recent releases

VersionPublished
0.2.37 Feb 2026
0.2.227 Jul 2024
0.2.122 Feb 2024
0.2.014 Feb 2024
0.1.14 Oct 2023
0.1.022 Sept 2023
0.0.1112 Jul 2022
0.0.1016 Feb 2022
0.0.922 Aug 2021
0.0.89 Jul 2021
0.0.76 Jul 2021
0.0.627 Jun 2021
0.0.516 Jun 2021
0.0.416 Jun 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
31 kB
Dependencies (7)
@stdlib/string-format@stdlib/assert-is-regexp@stdlib/assert-is-string@stdlib/assert-is-function@stdlib/string-base-replace@stdlib/error-tools-fmtprodmsg@stdlib/utils-escape-regexp-string
npm install @stdlib/string-replace
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@stdlib/string-replace@0.2.3/
  • unpkghttps://unpkg.com/@stdlib/string-replace@0.2.3/
  • esm.shhttps://esm.sh/@stdlib/string-replace@0.2.3
PackageWeekly downloadsGzipLast releaseModuleComparison
qsu14.1k-4 days agoESM only-
to-hex13.6k-4 years agoCommonJS-
arr-diff16.4m-9 years agoCommonJS-
mixin-deep10.4m-7 years agoCommonJS-
arr-flatten9.6m-9 years agoCommonJS-
humps993.5k-9 years agoCommonJS-
array-last949.2k-8 years agoCommonJS-
object.reduce822.3k-9 years agoCommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.