An open API service indexing awesome lists of open source software.

https://github.com/ericadamski/echolog

A tiny wrapper around console.log that returns the values passed to it
https://github.com/ericadamski/echolog

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# echolog

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

## Installation

```
> yarn add echolog
```

## Usage

```JavaScript
const log = require('echolog');

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

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