@estarlincito/utils
Version:
A collection of utility functions designed to simplify and speed up development tasks in JavaScript and TypeScript projects.
2 lines (1 loc) • 324 B
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./handle-error.cjs"),n=r=>{const t=new Date().getFullYear();return r>t&&e.handleError(`buildYear (${r}) cannot be greater than the current year (${t}).`),r===t?`Copyright © ${r}`:`Copyright © ${r}-${t}`};exports.copyright=n;