{"library":"jstransformer-babel","type":"library","category":null,"description":"A JSTransformer plugin that wraps Babel for transpiling JavaScript. Current version 2.1.0 supports Babel 6 and is in maintenance mode. The package provides a unified interface through the JSTransformer architecture, enabling render, renderFile, and renderString APIs. Unlike direct Babel usage, it filters unsupported options and supports .babelrc configuration when a filename is provided. Key differentiator: it integrates with the JSTransformer ecosystem (used by Pug, etc.) but does not include presets by default, requiring explicit presets like 'es2015' in Babel 6.","language":"javascript","status":"maintenance","version":"2.1.0","tags":["javascript","jstransformer","babel"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jstransformer-babel","imports":["const babel = require('jstransformer')(require('jstransformer-babel'))","babel.render(src, { presets: ['env'] })","babel.renderFile('input.js', function(err, result) {})"]},{"cmd":"yarn add jstransformer-babel","imports":[]},{"cmd":"pnpm add jstransformer-babel","imports":[]}],"homepage":null,"github":"https://github.com/jstransformers/jstransformer-babel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jstransformer-babel","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/jstransformer-babel/compatibility"}}