{"library":"tinyexec","type":"library","category":null,"description":"tinyexec is a lightweight Node.js library designed for executing child processes, offering a streamlined, promise-based API as an alternative to Node.js's native `child_process` module or more feature-rich libraries like `execa`. It abstracts away direct stream manipulation, providing a simpler interface for spawning, piping, and awaiting process results. As of its current stable version, 1.1.1, it supports both asynchronous (`x`) and synchronous (`xSync`) command execution, including options for setting timeouts, integrating `AbortSignal` for cancellation, and passing `stdin` input. Key differentiators include its focus on minimalism, automatic resolution of local `node_modules` binaries, and the ability to iterate over process output lines asynchronously. The package is actively maintained with frequent minor releases and bug fixes, and it is ESM-only since version 1.0.0, requiring Node.js 18 or higher.","language":"javascript","status":"active","version":"1.1.1","tags":["javascript","execa","exec","tiny","child_process","spawn","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tinyexec","imports":["import { x } from 'tinyexec';","import { xSync } from 'tinyexec';","import type { Output } from 'tinyexec';"]},{"cmd":"yarn add tinyexec","imports":[]},{"cmd":"pnpm add tinyexec","imports":[]}],"homepage":null,"github":"https://github.com/tinylibs/tinyexec","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tinyexec","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/tinyexec/compatibility"}}