deepdash
Version:
➔ 𝐃eep standalone lib / 𝐋odash extension: ✓ eachDeep ✓ filterDeep ✓ mapDeep ✓ reduceDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parents stack ⋮ Circular check ⋮ Leaves only mode ⋮ Children mode ⋮ cherry-pick ⋮ esm
11 lines (9 loc) • 416 B
JavaScript
const figures = require('figures');
const chalk = require('chalk');
module.exports = (...rest) => console.log(chalk.cyan(figures(' →')), ...rest);
module.exports.done = (...rest) =>
console.log(chalk.green(figures(' ✔')), ...rest);
module.exports.fail = (...rest) =>
console.log(chalk.red(figures(' ✖')), ...rest);
module.exports.warn = (...rest) =>
console.log(chalk.yellow(figures(' ⚠')), ...rest);