{"library":"pp-tagger","title":"pp-tagger","description":"Vite plugin that automatically injects data-component-id attributes into JSX/TSX components for debugging and tracking. Current stable version is 1.0.3, released as an alpha package. Compatible with Vite 5 and 8, ships TypeScript types. Differentiator: zero-config automatic tagging vs manual attribute addition.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install pp-tagger"],"cli":null},"imports":["import ppTagger from 'pp-tagger'","import { ppTagger } from 'pp-tagger'","import type { ppTagger } from 'pp-tagger'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// vite.config.ts\nimport { defineConfig } from 'vite';\nimport react from '@vitejs/plugin-react';\nimport ppTagger from 'pp-tagger';\n\nexport default defineConfig({\n  plugins: [\n    react(),\n    ppTagger({\n      // Optional: exclude specific components\n      exclude: ['SomeComponent'],\n      // Optional: attribute prefix (default: 'data-component-id')\n      attribute: 'data-component-id',\n    }),\n  ],\n});\n\n// After build, components get <div data-component-id=\"MyComponent\">...</div>","lang":"typescript","description":"Demonstrates basic setup in Vite config with component tagging, including optional exclude and attribute options.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}