UNPKG

@beyond-js/bundles-sdk

Version:
7 lines (5 loc) 229 B
const { header } = require('@beyond-js/code'); module.exports = function (bundle) { const { container } = bundle; return header(container.is === 'library' ? `LIBRARY: ${container.name}` : `MODULE: ${container.specifier}`); };