1.0.3 • Published 3 years ago

ejs-render v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

ejs-render

Simple ejs template compiler with --watch support

Installation

npm i ejs-render -g

Features

  • watch support
  • fast, only render changed files

Example

ejs-render --input=src/ejs --data=src/ejs/data.json --output=dist/html

ejs-render --input=src/ejs --data=src/ejs/data.json --output=dist/html --watch

Options

  • --input=[dir] Input directory
  • --data=[file.json] Data file
  • --output=[dir] Output directory
  • --watch Enable watch
  • --delay The millisecond delay between a file change and task execution. Default: 200
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago