The backbone of a scaffolding tool.
Features
- Zero-dependency, very light-weight (940KB) compared to Yeoman (12MB)
- Ultra-simple, this module exists because writing Yeoman generator is hard and time-consuming
Install
yarn add kopy
Usage
const kopy = const config = { return type: 'input' name: 'name' message: 'what is your name' } { return type: 'copy' files: '**' cwd: '/path/to/templates' // When specified, transform the files with `ejs` data: thisanswers } { console } const generator = generator
Testing:
const kopy =
Read more docs on our website.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
kopy © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
Website · GitHub @EGOIST · Twitter @_egoistlily