typescript
A process library that implemented in This process
library can be used by es
module, commonjs
module and typescript
module.
Examples
typescript
module, file with .ts
extension
Usage in import { exec } from '@esutils/process';
async function demo() {
const result = await exec('node', ['--version']);
const versionString = result.stdout.toString('utf-8');
console.log(versionString);
}
demo();