You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+9-4
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ npm install console-powers
21
21
22
22
## Usage
23
23
24
-
The library can be mentally split in two: **1)**`ii()` that aims to replace `console.log` + `tt()` that aims to replace `console.table`, **2)** the core API that allows doing advanced printing in the browser console. This is a getting started for **1)**. For **2)** see [API section](#api).
24
+
The library can be mentally split in two: *1)*`ii()` that aims to replace `console.log` + `tt()` that aims to replace `console.table`, *2)* the core API that allows doing advanced printing in the browser console. This is a getting started for *1)*. For *2)* see [API section](#api).
25
25
26
26
1. Add `ii` and `tt` to the global scope so you can use it anywhere without importing it – just like `console.log`:
27
27
```ts
@@ -36,7 +36,7 @@ The library can be mentally split in two: **1)** `ii()` that aims to replace `co
Importedfrom`console-powers/global`. Itadds`ii`and`tt`andit's TypeScript types to the global scope so you can use it anywhere without importing it – just like `console.log`.
220
223
221
-
### `addNoopToGlobalScope()`
224
+
####`addNoopToGlobalScope()`
222
225
223
226
Importedfrom`console-powers/global`. Itaddsempty/noopfunctionsfor`ii`and`tt`soifyouaccidentallyforgeta`ii`or`tt`callduringdevelopmentitwon't crash in production.
0 commit comments