Skip to content

Commit 59e8f00

Browse files
committed
chore: renamed package
1 parent fa28079 commit 59e8f00

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

example/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { randomInt } from 'node:crypto';
22
import { styleText } from 'node:util';
33

4-
import { createConsole } from 'json-console';
4+
import { createConsole } from 'styled-json-console';
55

66
const myConsole = createConsole({
77
inspectOptions: {

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "json-console",
2+
"name": "styled-json-console",
33
"description": "Custom Node.js Console that styles your JSON output",
44
"version": "0.0.0",
55
"publishConfig": {
@@ -40,12 +40,12 @@
4040
],
4141
"repository": {
4242
"type": "git",
43-
"url": "git+ssh://git@github.com/webdeveric/json-console.git"
43+
"url": "git+ssh://git@github.com/webdeveric/styled-json-console.git"
4444
},
4545
"bugs": {
46-
"url": "https://github.com/webdeveric/json-console/issues"
46+
"url": "https://github.com/webdeveric/styled-json-console/issues"
4747
},
48-
"homepage": "https://github.com/webdeveric/json-console/#readme",
48+
"homepage": "https://github.com/webdeveric/styled-json-console/#readme",
4949
"packageManager": "pnpm@10.26.2+sha512.0e308ff2005fc7410366f154f625f6631ab2b16b1d2e70238444dd6ae9d630a8482d92a451144debc492416896ed16f7b114a86ec68b8404b2443869e68ffda6",
5050
"scripts": {
5151
"clean": "rimraf ./dist/",

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# `json-console`
1+
# `styled-json-console`
22

33
Create a custom Node.js [`Console`](https://nodejs.org/api/console.html#new-consoleoptions) that automatically adds colors to [`JSON`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON) strings.
44

55
## Install
66

77
```shell
8-
pnpm add json-console
8+
pnpm add styled-json-console
99
```
1010

1111
## Usage
1212

1313
```ts
14-
import { createConsole } from 'json-console';
14+
import { createConsole } from 'styled-json-console';
1515

1616
const myConsole = createConsole({
1717
// Options go here

0 commit comments

Comments
 (0)