{"library":"6-to-library","type":"library","category":null,"description":"A deprecated formatter plugin for 6to5 (predecessor to Babel) that transforms ES6 modules into CommonJS, AMD, or global scripts for library distribution. Version 0.3.4 was the last release. It was made obsolete by 6to5 v2.7.0+, which added native module export support. Key differentiator: allowed library authors to write in ES6 and target multiple module systems seamlessly by specifying '6-to-library' as the modules option in 6to5.","language":"javascript","status":"deprecated","version":"0.3.4","tags":["javascript","6to5","es6","harmony","umd","amd","commonjs","global","globals"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install 6-to-library","imports":["// In 6to5 config: modules: '6-to-library'","export default function myFunc() {}","var lib = require('your-library');"]},{"cmd":"yarn add 6-to-library","imports":[]},{"cmd":"pnpm add 6-to-library","imports":[]}],"homepage":"https://github.com/tomekwi/6-to-library.js","github":"https://github.com/tomekwi/6-to-library.js","docs":null,"changelog":null,"pypi":null,"npm":"6-to-library","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}