UNPKG

@favware/rollup-type-bundler

Version:

A small CLI tool to bundle types with rollup

8 lines 305 B
import { exec } from 'node:child_process'; import { lstat } from 'node:fs/promises'; import { promisify } from 'node:util'; export const execAsync = promisify(exec); export const fileExistsAsync = (path) => lstat(path) .then(() => true) .catch(() => false); //# sourceMappingURL=promisified.js.map