# inspectweb

> Allows you to inspect a JSON value on your browser

Latest version **0.2.0** (published 2016-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install inspectweb
pnpm add inspectweb
yarn add inspectweb
bun add inspectweb
```

Provides the command `inspectweb`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-10-31 |
| First published | 2016-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Pedro Tacla Yamada |
| Maintainers | yamadapc |
| Keywords | debug, json, web, express, interface, ui, development |

## Links

- npm: https://www.npmjs.com/package/inspectweb
- Repository: https://github.com/yamadapc/node-inspectweb
- Homepage: https://github.com/yamadapc/node-inspectweb#readme
- Issues: https://github.com/yamadapc/node-inspectweb/issues
- npm.io page: https://npm.io/package/inspectweb

## Dependencies (6)

- [ejs](https://npm.io/package/ejs.md) ^2.3.4
- [open](https://npm.io/package/open.md) 0.0.5
- [express](https://npm.io/package/express.md) ^4.13.3
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.6.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.3.4
- [object-hash](https://npm.io/package/object-hash.md) ^1.1.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.2.0 (latest) — 2016-10-31
- 0.1.2 — 2016-04-29
- 0.1.1 — 2016-04-29
- 0.1.0 — 2016-04-29
- 0.0.4 — 2016-01-11
- 0.0.3 — 2016-01-09
- 0.0.2 — 2016-01-09
- 0.0.1 — 2016-01-09

## README

inspectweb
==========
Allows you to inspect a JSON value on an UI in your browser. Uses
[jquery-jsonview](https://github.com/yesmeck/jquery-jsonview).

![demo](/node-inspectweb-demo.png)

## Install
```
$ npm i --save inspectweb
```

## Command-line Usage
```
$ npm install -g inspectweb
$ inspectweb package.json something.json
$ curl http://respondswithjson.com | inspectweb
```

## Usage
```javascript
var inspectweb = require('inspectweb');
inspectweb({
  lots: {
    of: [
      {
        interesting: 'stuff',
      },
    ],
  },
}, {
  open: true,
});
```

## Implementation
When first called, `inspectweb` will:

- Spawn an express server
- Hash the object provided and store it in a shared object

_(This will leak memory, but you probably don't care)_

On subsequent calls, it'll hash the object, check if it exists in memory and
store it.

If you tell `inspectweb` to open a browser, it'll open pages relative to the
objects you want to inspect.

## License
This code is published under the MIT license.

## Donations
Would you like to buy me a beer? Send bitcoin to 3JjxJydvoJjTrhLL86LGMc8cNB16pTAF3y

---
_Source: https://npm.io/package/inspectweb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
