kmcminn / perfect-script-javascript

node based script utilizing only the stdlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perfect-script-javascript

I was tempted to use several modules like yargs and minimist and sync versions of things like exec, but then it wouldn't be perfect. :)

thoughts

  1. it doesn't require any modules so there's that
  2. callbacks weren't designed with scripting in mind
  3. wtb argument parsing would be nice in the stdlib
  4. module.parent doesn't feel very robust
  5. console.log should be aliased to print()#

feedback

open an issue if you have any feedback or ideas to improve this.

About

node based script utilizing only the stdlib


Languages

Language:JavaScript 100.0%