@pointdeb/templatize

0.0.4 • Public • Published

TEMPLATIZE

Tools for scaffold existing project to an schematics template.

INSTALL

npm i @pointdeb/templatize

USAGE:

templatize --src target/in --dest target/out --key hello --keyMap name

Conditional template

For conditional use comment // <% and the line will uncommented automaticaly.

// <% if (fullname) { %>
    console.log(this.fullname);
// <% } else { %>
    console.log(this.lastname);
// <% } %>

// result
  <% if (fullname) { %>
    console.log(this.fullname);
  <% } else { %>
    console.log(this.lastname);
  <% } %>

/@pointdeb/templatize/

    Package Sidebar

    Install

    npm i @pointdeb/templatize

    Weekly Downloads

    2

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    15.3 kB

    Total Files

    20

    Last publish

    Collaborators

    • stephano.romain