From 536483c0626fb104b5a419ebb5d03640d8a23c2f Mon Sep 17 00:00:00 2001 From: Antonio Stoilkov Date: Thu, 26 Dec 2024 12:21:33 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20rename=20TL;DR=20=E2=86=92?= =?UTF-8?q?=20Usage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index d04459a..7ac52db 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,6 @@ [![Gzipped Size](https://img.shields.io/bundlephobia/minzip/console-powers)](https://bundlephobia.com/result?p=console-powers) [![Build Status](https://img.shields.io/github/actions/workflow/status/astoilkov/console-powers/main.yml?branch=main)](https://github.com/astoilkov/console-powers/actions/workflows/main.yml) - ## Install @@ -26,7 +19,7 @@ npm install console-powers - **Write less, use inline.** You can sneak in `ii()` — `return ii(data)` — and it will print and return the value so you don't need to make a separate variable, print the value, and then return it. Also, if your don't have a shorthand for `console.log`, writing `ii` is faster. - **And many more.** Better date/time printing, more readable `Map` printing, adaptive string trimming, and many more improvements over default logging methods. -## TL;DR +## Usage You can replace `console.log()` with `ii()` & `console.table()` with `tt()` for a better debugging experience. Just add the two methods to the global scope and start experimenting: ```ts