Package

purescript-node-execa

Repository
jordanmartinez/purescript-node-execa
License
MIT
Uploaded by
pacchettibotti
Published on
2023-11-14T13:18:03Z

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
Modules
Node.Library.Execa
Node.Library.Execa.CrossSpawn
Node.Library.Execa.GetStream
Node.Library.Execa.IsExe
Node.Library.Execa.MergeStream
Node.Library.Execa.NpmRunPath
Node.Library.Execa.ParseCommand
Node.Library.Execa.ShebangCommand
Node.Library.Execa.SignalExit
Node.Library.Execa.StripFinalNewline
Node.Library.Execa.Utils
Node.Library.Execa.Which
Dependencies