mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
15 lines
398 B
JavaScript
15 lines
398 B
JavaScript
'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;
|