The functionality of this repository/package is no longer required by Eunice and has been replaced with https://github.com/DevSnicket/eunice-call-with-process-standard-streams.
DevSnicket Eunice is a toolkit based on the premise that unidirectional dependencies can be beneficial to structure and modularity in software. Euince's approach isn't limited to direct dependencies, but includes indirect dependencies as well.
try out Eunice on Eunice
Call when process entry point
This package detects when its callee is the process entry point (e.g. from CLI and scripts), and makes arguments and standard input available to a function.
It depends upon minimist to parse the arguments.
Used by Eunice JavaScript analyzer, processors and renderer so they can be run from CLI and scripts, and have large amounts of YAML passed into (and out of) them.
Install using npm
:
npm install @devsnicket/eunice-call-when-process-entry-point
Or with yarn
:
yarn add @devsnicket/eunice-call-when-process-entry-point