# join-json

> Merges multiple JSON objects or arrays together. Can be used as node module or from command-line.

Latest version **1.0.8** (published 2017-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install join-json
pnpm add join-json
yarn add join-json
bun add join-json
```

Provides the command `join-json`.

## 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 | 1.0.8 |
| Published | 2017-06-16 |
| First published | 2017-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | jamie.peabody@gmail.com |
| Maintainers | jamie.peabody |
| Keywords | json, join, merge |

## Links

- npm: https://www.npmjs.com/package/join-json
- Repository: https://github.com/wickedest/join-json
- Homepage: https://github.com/wickedest/join-json#readme
- Issues: https://github.com/wickedest/join-json/issues
- npm.io page: https://npm.io/package/join-json

## Dependencies (1)

- [nomnom](https://npm.io/package/nomnom.md) ^1.8.1

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

- 1.0.8 (latest) — 2017-06-16
- 1.0.7 — 2017-06-16
- 1.0.6 — 2017-06-16
- 1.0.5 — 2017-06-16

## README

# join-json

Merges multiple JSON objects or arrays together.  Can be used as node module or from command-line.

```bash
npm install join-json
```
## Node usage

```javascript
const JoinJSON = require('join-json');

const joinjson = new JoinJSON();
joinjson.join([{a: 1}]);
joinjson.join([{b: 2}]);
console.log(joinjson.join([{c: 3}]));
```
## Command-line usage

### Usage
```
Usage: join-retire [options]

Options:
   -i, --include   JSON file to include
   -o, --out       The combined JSON file to write.  If not specified, writes out stdout.
   -f, --force     Forces overwrite of `output` if it exists
   -h, --help      This usage
```

### Example

```bash
join-json -i a.json -i b.json -o out.json -f
```

## License

MIT

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