Gathering detailed insights and metrics for rollup-plugin-json-merge
Gathering detailed insights and metrics for rollup-plugin-json-merge
Gathering detailed insights and metrics for rollup-plugin-json-merge
Gathering detailed insights and metrics for rollup-plugin-json-merge
A Rollup plugin to merge multiple JSON sources into one
npm install rollup-plugin-json-merge
Typescript
Module System
Node Version
NPM Version
JavaScript (86.21%)
Shell (13.79%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
15 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Dec 17, 2022
Latest Version
0.0.2
Package Id
rollup-plugin-json-merge@0.0.2
Unpacked Size
6.60 kB
Size
3.11 kB
File Count
5
NPM Version
6.14.13
Node Version
14.17.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
🍣 A Rollup plugin to merge multiple JSON sources into one.
Using npm:
1npm i rollup-plugin-json-merge --save-dev
Using yarn:
1yarn add rollup-plugin-json-merge -D
Create a rollup.config.js
configuration file
and import the plugin:
1import merge from 'rollup-plugin-json-merge'; 2import { name, version, description } from './package.json'; 3 4export default { 5 input: 'src/index.js', 6 output: { 7 dir: 'output', 8 format: 'cjs', 9 }, 10 plugins: [ 11 merge({ 12 input: [{ name, version, description }, 'src/manifest.json', 'src/data/*.json'], 13 fileName: 'manifest.json', 14 }), 15 ], 16};
Then call rollup
either via the CLI
or the API.
The configuration above will collect JSON values from given input option and
build the output file using Object.assign
.
input
Type: (String | JSONValue)
| Array[...(String | JSONValue)]
Default: []
Glob style string pattern or a JSON object or an array of a mix of those to construct a single output from.
fileName
Type: String
Default: output.json
Output filename for the merged JSON.
merge
Type: Function
Default: (items) => Object.assign(...items)
The function responsible for merging given items.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More