Flagged Respawn

JSON →
library 2.0.0 ·javascript
verified May 27, 2026

flagged-respawn is a utility designed to address the common problem in Node.js applications where V8 or Node.js runtime flags (e.g., `--harmony`, `--experimental-modules`) are incorrectly placed within `process.argv`, leading them to be interpreted as application arguments rather than runtime options. This library identifies such flags and automatically respawns the Node.js process with the flags correctly prepended to the `node` executable command. The current stable version is 2.0.0. While there isn't a strict release cadence, it's part of the Gulp.js ecosystem, suggesting active maintenance for relevant Node.js versions. Its key differentiators include automatically handling stdio piping, ensuring the child process's exit code and signals are propagated to the parent, and providing a mechanism to prevent multiple respawns.

total hits 7
actors 4 distinct systems
last hit 7d ago Script
GPTBot
2
Script
1

top countries 🇫🇷 France · 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada