@shack-js/template-repo

1.0.4 • Public • Published

template-repo

create projects from template repo

usage

npm i @shack-js/template-repo
import tpl from '@shack-js/template-repo'

...
  await tpl(
    { name: 'abc' },  // config
    `https://github.com/shack-js/template-basic.git`, // repo of template 
    target // generate to path
  )
...

template standard

+-- defaults.json // default values
+-- ejs.json // ejs options
+-- template // files to be templated
     +-- ...
          +-- ...
     +-- ...

Readme

Keywords

none

Package Sidebar

Install

npm i @shack-js/template-repo

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

4.66 kB

Total Files

8

Last publish

Collaborators

  • postor