License generator for Yeoman based projects.
Generate LICENSE file for your project using Yeoman.
npm install -g yo
npm install -g generator-license
yo license, enter your full name and choose a license
The generator will generate the
LICENSE file and fill the
license field of the
generator-license can be easily embedded into your own generator using Yeoman composability.
generator-license as a dependency of your own generator.
npm install --save generator-license
Then call it from your generator.
All the options are optional; the generator will prompt for answers when information is not provided.