{"library":"babel-register","type":"library","category":null,"description":"Babel's require hook for Node.js that automatically compiles files on the fly when required. Current stable version is 6.26.0 (legacy Babel 6) and 7.x (latest v7.29.2). Babel 8 (v8.0.0-rc.3) is in release candidate phase. This package binds to Node's require() to transpile .es6, .es, .jsx, and .js files. Key differentiator: it's the simplest way to use Babel without a build step, ideal for development or small scripts. Alternatives like @babel/register for Babel 7+ are recommended. Supports caching via BABEL_CACHE_PATH, and ignores node_modules by default. Note: does not include polyfills; requires separate babel-polyfill for generators/async.","language":"javascript","status":"active","version":"6.26.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-register","imports":["require('babel-register')","require('babel-register')({ ignore: /regex/ })","BABEL_CACHE_PATH=/path/cache.json node script.js"]},{"cmd":"yarn add babel-register","imports":[]},{"cmd":"pnpm add babel-register","imports":[]}],"homepage":"https://babeljs.io","github":"https://github.com/babel/babel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/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/babel-register/compatibility"}}