Compare commits
2 commits
c7f220afd8
...
7dbb638dee
Author | SHA1 | Date | |
---|---|---|---|
7dbb638dee | |||
5906a579cb |
2 changed files with 4 additions and 4 deletions
|
@ -14,19 +14,19 @@ A lightweight console and file logger with color-coded output and timestamped en
|
|||
## Installation
|
||||
|
||||
```bash
|
||||
npm install @creations/logger
|
||||
npm install @creations.works/logger
|
||||
```
|
||||
|
||||
Or with Bun:
|
||||
|
||||
```bash
|
||||
bun add @creations/logger
|
||||
bun add @creations.works/logger
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { logger } from "@creations/logger";
|
||||
import { logger } from "@creations.works/logger";
|
||||
|
||||
logger.info("This is an info message");
|
||||
logger.warn("This is a warning", { breakLine: true });
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@creations.works/logger",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue