{"library":"gettext-extractor-vue","type":"library","category":null,"description":"gettext-extractor-vue is a specialized extension for the `gettext-extractor` library, designed to facilitate the extraction of gettext messages from Vue Single File Components (SFCs). It works by decorating `gettext-extractor`'s `JSExtractor` to preprocess `.vue` files, transforming their template and script sections into standard JavaScript that the core `gettext-extractor` can then parse. The current stable version is 5.2.0. This package differentiates itself by offering compatibility with both Vue 2 applications (requiring `vue-template-compiler` as a user-provided dependency) and Vue 3 applications (requiring `@vue/compiler-sfc`). Additionally, it provides utility functions, such as `decorateExtractorWithHelpers`, to add message transformation capabilities to the core `GettextExtractor` instance. While its release cadence isn't strictly defined, it generally aligns with major versions of `gettext-extractor` and Vue itself to ensure ongoing compatibility.","language":"javascript","status":"active","version":"5.2.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gettext-extractor-vue","imports":["import { decorateJSParserWithVueSupport } from 'gettext-extractor-vue';","import { decorateExtractorWithHelpers } from 'gettext-extractor-vue';","import * as gettextVue from 'gettext-extractor-vue';"]},{"cmd":"yarn add gettext-extractor-vue","imports":[]},{"cmd":"pnpm add gettext-extractor-vue","imports":[]}],"homepage":"https://gitlab.com/gitlab-org/frontend/gettext-extractor-vue#readme","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gettext-extractor-vue","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/gettext-extractor-vue/compatibility"}}