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
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install @creations/logger
|
npm install @creations.works/logger
|
||||||
```
|
```
|
||||||
|
|
||||||
Or with Bun:
|
Or with Bun:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bun add @creations/logger
|
bun add @creations.works/logger
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { logger } from "@creations/logger";
|
import { logger } from "@creations.works/logger";
|
||||||
|
|
||||||
logger.info("This is an info message");
|
logger.info("This is an info message");
|
||||||
logger.warn("This is a warning", { breakLine: true });
|
logger.warn("This is a warning", { breakLine: true });
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@creations.works/logger",
|
"name": "@creations.works/logger",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue