</>PackageGraphPackageGraph

sync-child-process

npmv1.0.2TypeScript

Run a subprocess synchronously and interactively in Node.js

Adopt with care

sync-child-process is usable, with caveats. Last published 674 days ago. 3 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 674 days ago. 3 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 163 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding sync-child-process to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

163 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing sync-child-process, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=16.0.0
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the sync-child-process README.

import {SyncChildProcess} from 'sync-child-process';
// or
// const {SyncChildProcess} = require('sync-child-process');

const node = new SyncChildProcess('node', ['--interactive']);

for (;;) {
  if (node.next().value.data.toString().endsWith('> ')) break;
}

node.stdin.write("41 * Math.pow(2, 5)\n");
console.log((node.next().value.data.toString().split("\n")[0]));
node.stdin.write(".exit\n");
console.log(`Node exited with exit code ${node.next().value.code}`);

Dependencies

Declared by sync-child-process v1.0.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (9)

@types/jest ^29.4.0@types/node ^22.0.0gts ^6.0.2jest ^29.4.1npm-run-all ^4.1.5ts-jest ^29.0.5ts-node ^10.2.1typedoc ^0.26.11typescript ^5.0.2

Used by

Popular packages that depend on sync-child-process.

Relationship graph

Dependencies (left) and dependents (right) of sync-child-process.

sync-message-portsass-embeddedsync-child-process
sync-child-process dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 4 days apart.

Recent versions of sync-child-process
VersionPublishedSizeLicense
1.0.2latest1 year ago57 KBMIT
1.0.11 year ago57 KBMIT
1.0.01 year ago56 KBMIT

Overview

sync-child-process is an npm package that run a subprocess synchronously and interactively in Node.js. It has 1 known dependents in the graph. The latest version is 1.0.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need run a subprocess synchronously and interactively in Node.js and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use sync-child-process?

sync-child-process is usable, with caveats. Last published 674 days ago. 3 releases in the last 2 years.

How do I install sync-child-process?

Run `npm install sync-child-process` to add sync-child-process to your npm project.

How many dependencies does sync-child-process have?

sync-child-process declares 10 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 163 KB on disk.

What license is sync-child-process released under?

sync-child-process is distributed under the MIT license.

How popular is sync-child-process?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on sync-child-process.

Is sync-child-process still maintained?

The most recent release of sync-child-process (v1.0.2) was published 1 year ago.

Does sync-child-process run install scripts?

No. sync-child-process does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.