0.0.3 • Published 7 years ago

@y0za/boxy v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

boxy

CircleCI

convert JSON to box-like appearance

Installation

$ npm install -g @y0za/boxy

Usage

sample.json content

{
  "object": {
    "text": "some text",
    "number": 123,
    "nested": {
      "bool": true,
      "null": null
    },
    "array": [
      "first",
      "second",
      "third"
    ]
  }
}
$ boxy sample.json
┌─────────────────────┐
│ object ───────────┐ │
│ │ text: some text │ │
│ │ number: 123     │ │
│ │ nested ──────┐  │ │
│ │ │ bool: true │  │ │
│ │ │ null: null │  │ │
│ │ └────────────┘  │ │
│ │ array           │ │
│ │ ├── [0]: first  │ │
│ │ ├── [1]: second │ │
│ │ └── [2]: third  │ │
│ └─────────────────┘ │
└─────────────────────┘

License

MIT License

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago