# jlint

> cli that parses the current JSON you have in your current clipboard

Latest version **3.0.2** (published 2015-11-23) · MIT license · 0 weekly downloads

## Install

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

Provides the command `jlint`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2015-11-23 |
| First published | 2014-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Søren Brokær |
| Maintainers | srn |
| Keywords | jlint, json, lint, jsonlint, cli, terminal, prettify, copy, paste |

## Links

- npm: https://www.npmjs.com/package/jlint
- Repository: https://github.com/srn/jlint
- Issues: https://github.com/srn/jlint/issues
- npm.io page: https://npm.io/package/jlint

## Dependencies (7)

- [glob](https://npm.io/package/glob.md) 5.0.15
- [meow](https://npm.io/package/meow.md) 3.6.0
- [cardinal](https://npm.io/package/cardinal.md) 0.6.0
- [copy-paste](https://npm.io/package/copy-paste.md) 1.1.4
- [parse-json](https://npm.io/package/parse-json.md) 2.2.0
- [log-symbols](https://npm.io/package/log-symbols.md) 1.0.2
- [update-notifier](https://npm.io/package/update-notifier.md) 0.5.0

## 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

- 3.0.2 (latest) — 2015-11-23
- 3.0.1 — 2015-11-11
- 3.0.0 — 2015-11-11
- 2.0.0 — 2015-10-20
- 1.1.2 — 2015-10-20
- 1.1.1 — 2015-07-05
- 1.1.0 — 2015-07-03
- 1.0.2 — 2015-04-08
- 1.0.1 — 2015-04-08
- 1.0.0 — 2015-04-07
- 0.0.3 — 2014-09-21
- 0.0.2 — 2014-09-21
- 0.0.1 — 2014-09-21

## README

# jlint [![Build Status](http://img.shields.io/travis/srn/jlint.svg?style=flat-square)](https://travis-ci.org/srn/jlint)

> cli that parses the JSON you have in your current clipboard

![screenshot](screenshot.png)

## Install

```sh
$ npm i -g jlint
```

## Usage

```sh
$ jlint --help

    Usage
      $ jlint

    Options
      -s, --silent   Don't output json, just parse
      -g, --glob     Files to match using glob pattern

    Examples
      $ jlint --silent
      ✔

      $ jlint --glob './*.js'
      ✖ ./cli.js
      Unexpected token '#' at 1:1
      #!/usr/bin/env node
      ^

      $ jlint package.json test.js --silent
      ✔ package.json
      ✖ test.js

      $ cat package.json | jlint --silent
      ✔
```

Piping also works:

```sh
$ cat log.json | jlint
```

Glob support:

```sh
$ jlint --glob './*.js'
```

Or just pass in files:

```sh
$ jlint package.json test.js
```

## License

MIT © [Søren Brokær](http://srn.io)

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