rollup-plugin-json seamlessly integrates JSON files into your Rollup bundles. It converts JSON data into JavaScript modules, allowing you to import JSON directly into your code. This plugin supports various options like indentation control and named exports for flexible data access. Ideal for managing configuration files, data sets, or any JSON-based content within your modern JavaScript projects, simplifying data handling and improving project organization in Rollup workflows.
Rollup-plugin-json's release frequency is sporadic. It had initial releases in late 2015, with further releases scattered throughout 2016-2019. The most recent release was version 4.0.0 in March 2019. There have been no releases since then up to July 2025, indicating a prolonged period of inactivity for the package.
Rollup-plugin-json downloads show fluctuating trends. After a period of relative stability in early 2024, downloads peaked in November 2024, dipped in December, and experienced further significant growth in mid-2025. July 2025 saw the highest downloads to date, but August is still incomplete.