Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 9, 2024 via pnpm
Package summary
Share
0
issues
3
licenses
14
MIT
5
ISC
1
Apache-2.0
Package created
5 Dec 2015
Version published
28 Oct 2020
Maintainers
2
Total deps
20
Direct deps
9
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
14 Packages, Including:
cross-spawn@7.0.3
end-of-stream@1.4.4
execa@4.1.0
get-stream@5.2.0
is-stream@2.0.1
merge-stream@2.0.0
mimic-fn@2.1.0
npm-run-path@4.0.1
onetime@5.1.2
path-key@3.1.1
pump@3.0.0
shebang-command@2.0.0
shebang-regex@3.0.0
strip-final-newline@2.0.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
5 Packages, Including:
isexe@2.0.0
once@1.4.0
signal-exit@3.0.7
which@2.0.2
wrappy@1.0.2

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
human-signals@1.1.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

9
All Dependencies CSV
β“˜ This is a list of execa 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
cross-spawn7.0.37.3 kBMIT
prod
get-stream5.2.04.25 kBMIT
prod
human-signals1.1.111.59 kBApache-2.0
prod
is-stream2.0.12.17 kBMIT
prod
merge-stream2.0.02.21 kBMIT
prod
npm-run-path4.0.12.91 kBMIT
prod
onetime5.1.22.68 kBMIT
prod
signal-exit3.0.73.76 kBISC
prod
strip-final-newline2.0.01.66 kBMIT
prod

Visualizations

Frequently Asked Questions

What does execa do?

Execa is a JavaScript package designed to improve the methods of Node.js's child_process, making it easier for developers to work with process execution. Some key features include a promise interface, improved Windows support, execution of locally installed binaries without the need for npx, and a plethora of convenience methods for handling process input and output.

How do you use execa?

To use execa, start by installing the package using npm with the command npm install execa. Below are some examples of how you can use execa:

// Using Promise Interface
import {execa} from 'execa';
const {stdout} = await execa('echo', ['unicorns']);
console.log(stdout);  //=> 'unicorns'

// Using Scripts Interface
import {$} from 'execa';
const branch = await $`git branch --show-current`;
await $`dep deploy --branch=${branch}`;

// Handling Errors
import {execa} from 'execa';
try {
	await execa('unknown', ['command']);
} catch (error) {
	console.log(error);
}

// Graceful termination
const subprocess = execa('node');
setTimeout(() => {
	subprocess.kill('SIGTERM', {
		forceKillAfterTimeout: 2000
	});
}, 1000);

These are simple use cases. To fully benefit from execa, review more advanced options and features in the usage documentation.

Where are the execa docs?

The comprehensive documentation for execa can be found on the GitHub page. The readme file includes all the details about installation, usage examples, options, and the API. It is designed as a complete guide, providing users with everything they need to know about the package, how it works, and how to use it effectively.