@platform/exec

Tools for executing commands in child_process.


License
MIT
Install
npm install @platform/exec@0.2.70

Documentation

license: MIT banner

Monorepo for @platform modules.

 

 

Philosophy

As quoted on @isaacs post "Unix Philosophy and Node.js", Doug McIlroy's 4-point formulation of the Unix Philosophy:

 

  1. Make each program do one thing well.
    To do a new job, build afresh rather than complicate old programs by adding new features.

  2. Expect the output of every program to become the input to another, as yet unknown, program.
    Don’t clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don’t insist on interactive input.

  3. Design and build software, even operating systems, to be tried early, ideally within weeks.
    Don’t hesitate to throw away the clumsy parts and rebuild them.

  4. Use tools in preference to unskilled help to lighten a programming task,
    even if you have to detour to build the tools and expect to throw some of them out after you’ve finished using them.

 

@isaacs follows this up with a thoughtful translation into nodejs terms. His whole post is worth the read, but here's a distillation:

  • Working is better than perfect.
  • Focus is better than features.
  • Compatibility is better than purity.
  • Simplicity is better than anything.

 

 

Modules

 

 

License

It's MIT all the way!

Plus...for a scintillating break down of this open-source classic, treat yourself to Kyle E. Mitchell's
"The MIT License, line-by-line. 171 words every programmer should understand."

Be Forewarned

pre-release
API's will change (probably radically 🐷) prior to 1.0 release.