1.0.0 • Published 2 years ago

@isaac-m/console v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@isaac-m/console

Returns the argument passed into a logging function. For logging arguments a tiny bit more easily.

// With native console
const arg = 'arg';
console.log(arg);
exampleFunction(arg);

// With log
exampleFunction(log('arg'));

Installation

npm i @isaac-m/console

Usage

import { log } from "@isaac-m/console";

const str = log("This is a string.");

Functions

  • debug
  • error
  • info
  • log
  • warn
1.0.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago