Skip to content

Commit

Permalink
feat: add alternatives to process execution libraries (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Namchee authored Aug 24, 2024
1 parent b82bead commit c5adb97
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ESLint plugin.
- [`eslint-plugin-import`](./eslint-plugin-import.md)
- [`eslint-plugin-node`](./eslint-plugin-node.md)
- [`eslint-plugin-react`](./eslint-plugin-react.md)
- [`execa`](./process-exec.md)
- [`fast-glob`](./glob.md)
- [`glob`](./glob.md)
- [`globby`](./glob.md)
Expand Down
21 changes: 21 additions & 0 deletions docs/modules/process-exec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Process Execution

Many process execution libraries have a subset of features that normally aren't used outside specific use cases. There are a few lighter alternatives for process execution libraries.

# Alternatives

## tinyexec

`tinyexec` is a tiny and minimal process execution library.

[Project Page](https://github.com/tinylibs/tinyexec)

[npm](https://www.npmjs.com/package/tinyexec)

## nanoexec

`nanoexec` is a minimal wrapper around `child_process` that supports all options that `child_process.spawn` supports.

[Project Page](https://github.com/fabiospampinato/nanoexec)

[npm](https://www.npmjs.com/package/nanoexec)
6 changes: 6 additions & 0 deletions manifests/preferred.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
"docPath": "eslint-plugin-react",
"category": "preferred"
},
{
"type": "documented",
"moduleName": "execa",
"docPath": "process-exec",
"category": "preferred"
},
{
"type": "documented",
"moduleName": "fast-glob",
Expand Down

0 comments on commit c5adb97

Please sign in to comment.