@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @isaac-m/console

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.14 kB

Total Files

6

Last publish

Collaborators

  • isaac-m