Access Node modules/binaries automatically
mainBy default, tinyexec prepends node_modules/.bin and the current node executable's directory to PATH, allowing you to run locally installed binaries directly (e.g., eslint). To disable this behavior, set {nodePath: false} in the options.
// Uses local node_modules/eslint
await x('eslint', ['.']);
// Disables automatic PATH prepending
await x('eslint', ['.'], {nodePath: false});