@isaac-m/console
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @isaac-m/console

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.14 kB

Total Files

6

Last publish

Collaborators

  • isaac-m