easy-ejs-compiler
Easily generate html files from EJS templates.
Installation
Use NPM:
$ npm i easy-ejs-compiler
Use Yarn:
$ yarn add easy-ejs-compiler
Usage
$ easy-ejs-compiler INPUT_DIR {OPTIONS}
Options:
-o --output The output directory for rendered files.
-d --data The "data" arguments of EJS renderer. (file path or JSON strings)
-O --options The "options" arguments of EJS renderer. ( file path or JSON strings)
-v --version Print the easy-ejs-renderer version number
Notice
If you do not set the --output
option, the results will be output to the console.