{"library":"babel-plugin-react-data-testid","type":"library","category":null,"description":"Babel plugin that automatically adds data-testid attributes to JSX elements based on the component name. Current version 0.2.0, stable maintenance mode. Supports custom attribute names and multiple attributes via options. Does not support class components. Compared to alternatives like babel-plugin-jsx-remove-data-test-id, this plugin focuses on adding rather than stripping test IDs.","language":"javascript","status":"maintenance","version":"0.2.0","tags":["javascript","babel","babel plugin","react","data-test","data-testid","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-react-data-testid","imports":["Add 'babel-plugin-react-data-testid' to plugins in Babel config (e.g., .babelrc or babel.config.js)"]},{"cmd":"yarn add babel-plugin-react-data-testid","imports":[]},{"cmd":"pnpm add babel-plugin-react-data-testid","imports":[]}],"homepage":null,"github":"https://github.com/akameco/babel-plugin-react-data-testid","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-react-data-testid","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-react-data-testid/compatibility"}}