1.0.0 • Published 6 years ago

call-module v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Introduction

Pass arguments from the command line to a nodejs module, and print the results to the console. The purpose of this is to promote a "UNIX philosophy" approach to writing node modules, especially the ability to write shell scripts and pipe text.

Syntax

./call-module "path-to-js-file" optional arguments

An example

./call-module "./example" --url www.google.com

1.0.0

6 years ago