UNPKG

deployment-tools

Version:

A Node.js scripts that helps you to compile and deploy the static assets (CSS/JavaScript/images) of your website without gulp and grunt using Node.js and npm scripts

30 lines (24 loc) 700 B
import { getDateString } from './time'; /** * Print a message to the console * @param {...object} message An array of object to print * @return {void} */ const log = (...message) => console.log(getDateString(), ...message); /** * Print an error message to the console * @param {...object} message An array of object to print * @return {void} */ const error = (...message) => console.error(getDateString(), ...message); /** * Print a warn message to the console * @param {...object} message An array of object to print * @return {void} */ const warn = (...message) => console.warn(getDateString(), ...message); export default { log, error, warn, };