{"library":"babel-plugin-generator-prettier","type":"library","category":null,"description":"A Babel plugin that replaces the default code generator with Prettier for prettier transformed output. It allows passing Prettier options (e.g., printWidth, semi) via generatorOpts in Babel config. Requires Babel 7 and Prettier. Supports source maps since v1.1.0. Lightweight and zero-config alternative to running Prettier as a separate step.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","ast","babel","babel-generator","babel-plugin","beautify","code-generator","format","generator"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-generator-prettier","imports":["import babelPluginGeneratorPrettier from 'babel-plugin-generator-prettier'","plugins: ['generator-prettier']","generatorOpts: { printWidth: 120 }"]},{"cmd":"yarn add babel-plugin-generator-prettier","imports":[]},{"cmd":"pnpm add babel-plugin-generator-prettier","imports":[]}],"homepage":null,"github":"https://github.com/goto-bus-stop/babel-plugin-generator-prettier","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-generator-prettier","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/babel-plugin-generator-prettier/compatibility"}}