sync-child-process
npmv1.0.2TypeScriptRun 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
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.
Runtime (1)
Dev (9)
Used by
Popular packages that depend on sync-child-process.
Relationship graph
Dependencies (left) and dependents (right) of sync-child-process.
Frequently installed together
JavaScript parser and stringifier for YAML
Generates and consumes source maps
Reactive Extensions for modern JavaScript
TypeScript execution environment and REPL for node.js, with source map support
Delightful JavaScript Testing.
Immutable Data Collections
TypeScript definitions for yargs
yargs the modern, pirate-themed, successor to optimist.
TypeScript definitions for node
Let’s get serious about color
protobuf-style varint bytes - use msb to create integer values of varying sizes
tar for node
Release history
No releases in the last two years, typically about 4 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.2latest | 1 year ago | 57 KB | MIT |
| 1.0.1 | 1 year ago | 57 KB | MIT |
| 1.0.0 | 1 year ago | 56 KB | MIT |
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.