@esutils/process
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

A process library that implemented in typescript

This process library can be used by es module, commonjs module and typescript module.

Examples

Usage in typescript module, file with .ts extension

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();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    20
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    20

Package Sidebar

Install

npm i @esutils/process

Weekly Downloads

19

Version

0.0.2

License

MIT

Unpacked Size

14.3 kB

Total Files

25

Last publish

Collaborators

  • lygstate