terminal-prettier 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -5,15 +5,15 @@ A small TypeScript logger for terminals: ISO timestamps, emoji level icons, and
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install terminal-
|
|
8
|
+
npm install terminal-prettier
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import logger from 'terminal-
|
|
14
|
+
import logger from 'terminal-prettier';
|
|
15
15
|
|
|
16
|
-
logger.info('Application
|
|
16
|
+
logger.info('Application running');
|
|
17
17
|
logger.debug('Debug information', { key: 'value' });
|
|
18
18
|
logger.warn('Warning message');
|
|
19
19
|
logger.error('Error occurred', new Error('Something went wrong'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "terminal-prettier",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Pretty terminal logger for CLIs: ISO timestamps, level icons, and colorized output with zero runtime deps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"colorized",
|
|
23
23
|
"pretty",
|
|
24
24
|
"formatter",
|
|
25
|
-
"timestamp"
|
|
25
|
+
"timestamp",
|
|
26
|
+
"prettier"
|
|
26
27
|
],
|
|
27
28
|
"author": "snapbar",
|
|
28
29
|
"license": "MIT",
|