Skip to content
JS
Package

replace-in-files

Replace text in one or more files or globs. Works asynchronously with promises.

v3.0.0, 26 Sept 2020MITCommonJSTypes: NoneFiles and file systemsPromises and async control flow
$ npm install replace-in-files

Key numbers

As of 25 Sept 2026
Weekly downloads
11.8k
-6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
5 years ago
v3.0.0
GitHub stars
23
5 forks
Open issues / PRs
3 / 13
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 32.7k (17 Mar 2026)Low 5.6k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,751 downloads last week, 49,514 in the last month. The 12-month change of -6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.0, 26 Sept 20205 years ago
First published
-
Last push to GitHub
6 Jan 20231,358 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
13
Commits, last 52 weeks
0
Dependents on npm
48

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12.0.0
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (5)
coglobbylodashis-binaryes6-promisify
npm install replace-in-files
  • jsDelivrhttps://cdn.jsdelivr.net/npm/replace-in-files@3.0.0/
  • unpkghttps://unpkg.com/replace-in-files@3.0.0/
  • esm.shhttps://esm.sh/replace-in-files@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
replace-in-file1.2m-1 month agoESM only-
filehound61.3k-4 years agoCommonJS-
glob-gitignore106.2k-1 year agoCommonJS-
write4.2m-7 years agoCommonJS-
@mrmlnc/readdir-enhanced3m-8 years agoCommonJS-
rmfr20.9k-8 years ago--
fs-extra-promise7.6k-9 years agoCommonJS-
firstline46.4k-8 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.