njk-cli

1.0.3 • Public • Published

njk-cli

Usage:

njk -s template/tmpl.njk -d template/data.json -p v1=1 -p v2=2

Options:
  --help        Show help                                              [boolean]
  --version     Show version number                                    [boolean]
  --source, -s  Source njk template                                   [required]
  --data, -d    Json file with variables
  --params, -p  Key-value pairs of variables, ex: name=hello             [array]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i njk-cli

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

5.22 kB

Total Files

9

Last publish

Collaborators

  • tarapon