node based script utilizing only the stdlib