I’ve just published the website for Tideflow – https://tideflow.io , an open source tool for automating workflows. You can...
Introducing nodesfc (Single File Code)joseconstela
Single File Code, or sfc, allows to execute nodejs scripts with its dependencies defined in the script itself.
Instead of having a package.json file and installing the dependencies via npm commands, you can specify the dependencies in your script comments.
SFC will take care of installing the dependencies.
Define your script dependencies as comment
/** * @dependency lodash latest */ require('lodash').map([1,2,3,4], n => console.log(n))