Executing any Node.js module or .js file via CLI without creating any command-line interface at all
Too Long; Didn't Read
Recently I published <a href="https://github.com/DiegoZoracKy/magicli" target="_blank">MagiCLI</a>, which is a module built to create automagically a <a href="https://hackernoon.com/tagged/cli" target="_blank">CLI</a> for any given module. It's just needed to include it as a dependency, require the module, and then a CLI is ready. However, even though this tool is there, to be used, if a developer (end user) wants to execute some existing module published on npm via CLI, there was still a dependency. The maintainer of a module have to include <a href="https://hackernoon.com/tagged/magicli" target="_blank">MagiCLI</a> in order to provide the command-line interface. Well, not anymore 😉.