Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

spawn-term

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spawn-term

Formats spawn with for terminal grouping

latest
Source
npmnpm
Version
3.5.6
Version published
Weekly downloads
173
-39.72%
Maintainers
1
Weekly downloads
 
Created
Source

spawn-term

Formats spawn with prefix and colors

import spawn from 'spawn-term'

await spawn('npm', ['install'], { stdio: 'inherit' });
await spawn('npm', ['test'], { stdio: 'inherit' });

Testing

Some tests verify behavior specific to non-TTY environments (e.g., CI pipelines). These tests are skipped when stdout is a TTY.

To run all tests including non-TTY tests locally, pipe the output:

npm test 2>&1 | cat

Keywords

spawn

FAQs

Package last updated on 27 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts