{"library":"generate-json-webpack-plugin","type":"library","category":null,"description":"Webpack plugin (v2.0.0) that generates a custom JSON asset in webpack's output directory. Requires webpack 5 (dropped webpack 4 support in v2.0.0). Use it to create JSON files from JavaScript objects during the webpack build process. Supports custom JSON.stringify replacer and space parameters for formatting. Simpler than using webpack's built-in assets approach or write-file-webpack-plugin for JSON output. Niche but focused; no active recent development (last release 2022), but stable for webpack 5 users.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","webpack"],"last_verified":"Wed May 27","install":[{"cmd":"npm install generate-json-webpack-plugin","imports":["const GenerateJsonPlugin = require('generate-json-webpack-plugin');","new GenerateJsonPlugin('file.json', { key: 'value' })","new GenerateJsonPlugin('file.json', { key: 'value' }, replacer, space)"]},{"cmd":"yarn add generate-json-webpack-plugin","imports":[]},{"cmd":"pnpm add generate-json-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/elliottsj/generate-json-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/generate-json-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/generate-json-webpack-plugin/compatibility"}}