npm.io
0.0.1 • Published 7 years ago

echolog

Licence
MIT
Version
0.0.1
Deps
0
Size
2 kB
Vulns
0
Weekly
0

echolog

A tiny wrapper around console.log that returns the values passed to it

Installation

> yarn add echolog

Usage

const log = require('echolog');

log(Math.abs(-10));
// Outputs: "10" on the terminal
// returns 10

log("hello", "👏");
// Outputs: "hello 👏" on the terminal
// returns ["hello", "👏"]