{"library":"metro-babel-register","type":"library","category":null,"description":"A babel/register configuration specifically for Metro, the JavaScript bundler for React Native. Version 0.84.3 is the latest stable release, with monthly releases on the Metro 0.84.x branch. It provides a pre-configured Babel require hook that enables on-the-fly transpilation of Node.js modules during Metro's build process. Key differentiators: it is deeply integrated with Metro's own Babel presets and plugins, ensuring compatibility with React Native's transform pipeline. Unlike generic `@babel/register`, this package automatically applies Metro's custom transforms and ignores, matching the bundler's internal behavior. It is designed for development-time use, typically in custom Metro plugins or scripts that need to evaluate source files with Babel. No external dependencies beyond @babel/register and @babel/core.","language":"javascript","status":"active","version":"0.84.3","tags":["javascript"],"install":[{"cmd":"npm install metro-babel-register","imports":["require('metro-babel-register')","require('metro-babel-register').register()","const metroBabelRegister = require('metro-babel-register'); metroBabelRegister();"]},{"cmd":"yarn add metro-babel-register","imports":[]},{"cmd":"pnpm add metro-babel-register","imports":[]}],"homepage":null,"github":"https://github.com/facebook/metro","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/metro-babel-register","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/metro-babel-register/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}