{"library":"babel-plugin-react-require","type":"library","category":null,"description":"A Babel plugin (v4.0.3) that automatically adds an ES2015 import for React to files containing JSX tags. It targets stateless functional components that do not explicitly import React, saving boilerplate. Works with Babel 7+ (v4) and Babel 6 (v3). Released less frequently, with no updates in several years; similar functionality is now partially covered by @babel/preset-react with the 'runtime: automatic' option.","language":"javascript","status":"maintenance","version":"4.0.3","tags":["javascript","babel","babel-plugin","react","jsx"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-react-require","imports":["// in .babelrc: { \"plugins\": [\"react-require\"] }"]},{"cmd":"yarn add babel-plugin-react-require","imports":[]},{"cmd":"pnpm add babel-plugin-react-require","imports":[]}],"homepage":null,"github":"https://github.com/vslinko/babel-plugin-react-require","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-react-require","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-require/compatibility"}}