@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
     +-- ...
          +-- ...
     +-- ...

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.41latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.41
1.0.30
1.0.20
1.0.10
1.0.00

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