stamps a license text from a file (see sample/template.mustache) at the top of each file in the input directory using appropriate comments section (as defined in comment_block.yaml) and writes the file to the specified output directory (or input directory if output directory not specified)
It also ensures that it does not add the same license text again if already existing.
npm start
Or
npm i license-stamper --save-dev
and
node -e 'require(`license-stamper`).run()' '.'
or use the following in your pre publish pipeline
require('license-stamper').run(inputDir, outputDir, configYamlPath, templatePath)
Any type of contribution towards enhancing this is welcomed