1.0.1 • Published 2 years ago

@bitterbyter/print v1.0.1

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

print

Print function for JavaScript

Usage

const print = require("@bitterbyter/print");

print(<data>, <type>);

Examples

default
const print = require("@bitterbyter/print");

print("Hello, World!");
warn
const print = require("@bitterbyter/print");

let x = 0;

print(`Value of x is ${x}`, "debug");

Types

  • count
  • countReset
  • debug
  • dir
  • dirxml
  • error
  • info
  • table
  • warn

Not specifying any type, defaults to log.