{"library":"json5-loader","type":"library","category":null,"description":"A webpack loader for parsing JSON5 files into JavaScript objects. Supports modern JSON5 syntax including comments, trailing commas, and unquoted keys. Current stable version is 4.0.1 (released October 2020), requiring Node.js >= 10.13 and webpack ^4 || ^5. Replaced the built-in json-loader for JSON5 support. Key differentiator: integrates seamlessly with webpack's module system, offering esModule option for ES module output and enabling tree shaking. Maintained by the webpack-contrib organization with regular updates to schema-utils.","language":"javascript","status":"active","version":"4.0.1","tags":["javascript","webpack"],"last_verified":"Wed May 27","install":[{"cmd":"npm install json5-loader","imports":["import json5Loader from 'json5-loader'","rules: [{ test: /\\.json5$/i, loader: 'json5-loader', type: 'javascript/auto' }]","const data = require('json5-loader!./file.json5')"]},{"cmd":"yarn add json5-loader","imports":[]},{"cmd":"pnpm add json5-loader","imports":[]}],"homepage":null,"github":"https://github.com/webpack-contrib/json5-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/json5-loader","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/json5-loader/compatibility"}}