{"library":"mu-babel","title":"mu-babel","description":"An unofficial fork/package of Babel (formerly 6to5) that transpiles ES6/ES2015 to readable ES5 with source maps. Version 0.0.2 is an early snapshot from the Babel v5 era (circa 2015), long superseded by modern Babel versions. This package is not maintained and should not be used in new projects. Key differentiator: claims readable output, but functionally identical to early Babel releases. Users should prefer the official babel package at v7+.","language":"javascript","status":"deprecated","last_verified":"Fri May 01","install":{"commands":["npm install mu-babel"],"cli":{"name":"babel","version":null}},"imports":["import babel from 'mu-babel'","import babel from 'mu-babel'; babel.transform(code, options)","import babel from 'mu-babel'; console.log(babel.version)"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const babel = require('mu-babel');\nconst result = babel.transform('const x = 1;', { sourceMaps: true });\nconsole.log(result.code);\n// 'use strict';\n// var x = 1;","lang":"javascript","description":"Shows how to transpile a simple const declaration using mu-babel with source maps.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}