okunishinishi/node-arrayreduce

View on GitHub
.LICENSE.bud

Summary

Maintainability
Test Coverage
/**
 * Bud file for LICENSE
 */

"use strict";

const apeTmpl = require('ape-tmpl'),
    pkg = require('./package.json');

module.exports = apeTmpl.licenseBud({
    type: pkg.license,
    holder: pkg.repository.split(/\//).shift(),
    year: 2015
});

if (!module.parent) {
    // This will generate "LICENSE"
    require('coz').render(__filename);
}