Skip to content
JS
Package

foreground-child

Run a child as if it's the foreground process. Give it stdio. Exit when it exits.

v4.0.3, 6 Feb 2026BlueOak-1.0.0ESM + CommonJSTypes: Bundled
$ npm install foreground-child

Key numbers

As of 25 Sept 2026
Weekly downloads
78.7m
+62% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 months ago
v4.0.3
GitHub stars
46
22 forks
Open issues / PRs
0 / 5
Contributors
11
Commits, last 52 weeks
13

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 129.5m (16 Jun 2026)Low 33.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

78,733,108 downloads last week, 380,289,408 in the last month. The 12-month change of +62% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
428 in total
Latest version
4.0.3, 6 Feb 20267 months ago
First published
15 May 2015
Last push to GitHub
6 May 2026141 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
5
Commits, last 52 weeks
13
Dependents on npm
720

Major versions

  1. v4 first release 4.0.0, 5 Feb 2026
  2. v3 first release 3.0.0, 17 Apr 2023
  3. v2 first release 2.0.0, 6 Sept 2019
  4. v1 first release 1.0.0, 15 May 2015

Recent releases

VersionPublished
4.0.36 Feb 2026
4.0.26 Feb 2026
4.0.16 Feb 2026
4.0.05 Feb 2026
3.3.124 Feb 2025
3.3.07 Aug 2024
3.2.114 Jun 2024
3.2.012 Jun 2024
3.1.118 Apr 2023
3.1.017 Apr 2023
3.0.017 Apr 2023
2.0.06 Sept 2019
1.5.616 Dec 2016
1.5.516 Dec 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16
Runtimes
-
Unpacked size (npm)
71 kB
Dependencies (1)
signal-exit
npm install foreground-child
  • jsDelivrhttps://cdn.jsdelivr.net/npm/foreground-child@4.0.3/
  • unpkghttps://unpkg.com/foreground-child@4.0.3/
  • esm.shhttps://esm.sh/foreground-child@4.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.