UNPKG

vibe-tools

Version:
17 lines (16 loc) 503 B
/** * Utility module that provides a Promise-based wrapper around Node's exec function. * This allows for easier async/await usage of child process execution throughout the codebase. * * Usage: * ```typescript * try { * const { stdout, stderr } = await execAsync('some command'); * console.log('Output:', stdout); * } catch (error) { * console.error('Failed:', error); * } * ``` */ import { exec } from 'node:child_process'; export declare const execAsync: typeof exec.__promisify__;