1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00
Files
tabler/build/banner.js
2019-09-24 17:40:27 +02:00

22 lines
589 B
JavaScript

/*
* Tabler (v0.9.0): banner.js
* Copyright 2018-2019 The Tabler Authors
* Copyright 2018-2019 codecalm
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
*/
'use strict';
const pkg = require('../package.json'),
year = new Date().getFullYear();
function getBanner(pluginFilename) {
return `/*!
* Tabler${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage})
* Copyright 2018-${year} ${pkg.author}
* Licensed under ${pkg.license} (https://github.com/tabler/tabler/blob/master/LICENSE)
*/`;
}
module.exports = getBanner;