Compare commits
No commits in common. "7dbb638dee1d471fc0bdb6cdd68b9a8e4e60c8bc" and "c7f220afd84f4c7640d8ab5da289961451aa6bea" have entirely different histories.
7dbb638dee
...
c7f220afd8
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.works/logger
|
||||
npm install @creations/logger
|
||||
```
|
||||
|
||||
Or with Bun:
|
||||
|
||||
```bash
|
||||
bun add @creations.works/logger
|
||||
bun add @creations/logger
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { logger } from "@creations.works/logger";
|
||||
import { logger } from "@creations/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.3",
|
||||
"version": "1.0.2",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue