2.0.4 • Published 2 years ago

ejsp v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ejs-preprocessor

use ejs like preprocessor

installation

npm i ejsp -g

usage

create the ejsp.json file(this is config for ejs preprocessor) example

{
  dir: ["testinput", "!testinput/components"], //! for exclude dir
  outdir: "test/",
  vars: { test: "hello" },
}

dir - folder(s) with ejs files
outdir - The folder where the ejs files will be rendered vars - ejs variables

e.g.

testinput/index.ejs will be rendered to test/index.html
testinput/components/menu.ejs will not be rendered
testinput/index.css will be copied to test/index.css

then run the command ejsp in the cmd

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.0.2

4 years ago

1.0.2-alpha

4 years ago

1.0.1-alpha

4 years ago