UNPKG

yarn-add-no-save

Version:

Implements the much requested feature of installing packages without saving them with yarn.

19 lines (14 loc) 291 B
function logErr(str) { console.error(`\x1b[1;31mERR:\x1b[0m ${str}`); } function logWarn(str) { console.warn(`\x1b[33mWARN:\x1b[0m ${str}`); } function logInfo(str) { console.info(`\x1b[1;37mINFO:\x1b[0m ${str}`); } module.exports = { logErr, logWarn, logInfo };