{"library":"vue-prettier","type":"library","category":null,"description":"vue-prettier (v0.2.0) is a CLI tool to format .vue single-file components using Prettier. It parses Vue template, script, and style sections individually via vue-template-compiler rather than regex, enabling reliable formatting. Designed as a temporary solution until native Prettier Vue support arrived (which it now has). The package uses the same CLI arguments as Prettier, allowing drop-in replacement. Requires Node >=8 and vue-template-compiler as a peer dependency. Project has seen no updates since 2019 and is effectively superseded by Prettier's built-in Vue support (via @prettier/plugin-vue) since Prettier v1.15+.","language":"javascript","status":"deprecated","version":"0.2.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-prettier","imports":["const vuePrettier = require('vue-prettier');","const { formatFile } = require('vue-prettier');","const vuePrettier = require('vue-prettier').default;"]},{"cmd":"yarn add vue-prettier","imports":[]},{"cmd":"pnpm add vue-prettier","imports":[]}],"homepage":null,"github":"https://github.com/oligot/vue-prettier","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-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/vue-prettier/compatibility"}}