Skip to content

JordanMartinez/purescript-node-execa

Repository files navigation

purescript-node-execa

PureScript port of the execa (NPM library) JavaScript library and the relevant parts of all of its relevant dependencies when such dependencies essentially share the same license (i.e. MIT/ISC).

Differences from execa / child_process module

  • execa:
    • Unsupported: the all option, which merges stdout/stderr into one stream.
  • child_process' module
    • Unsupported: spawn's serialization option
    • Unsupported: spawn's signal option, which kills the process if it's corresponding AbortController is aborted

License requirements

The below dependencies of execa did not need to be ported since such functionality was implemented primarily via Aff.

  • mimic-fn - functionality unneeded as Aff Fibers are a more flexible implementation than Promises.
  • onetime - functionality provided via Aff's joinFiber
  • is-stream - functionality provided via PureScript's types
  • path-key - functionality is no longer needed in current versions of Node