1.3.3 • Published 3 years ago

@nullish/joinjson v1.3.3

Weekly downloads
1
License
MIT-0
Repository
github
Last release
3 years ago

JoinJSON

Receives one or mode JSON files and joins them into a single file.

Each file is captured as a Javascript object. There's no attempt to match elements in one object to those in another.

The script receives one argument, the path to a folder, and outputs a file called manifest.json to the same folder. It can be called either as a function or from the command line.

Example

File 1

{
  "file": "1",
  "contents": [
    "a",
    "b"
  ]
}

File 2

{
  "file": "2",
  "contents": [
    "b",
    "c"
  ]
}

Output

[
  {
    "file": "1",
    "contents": [
      "a",
      "b"
    ]
  },
  {
    "file": "2",
    "contents": [
      "b",
      "c"
    ]
  }
]
1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago