{"library":"amd-to-es6","type":"library","category":null,"description":"A CLI and programmatic tool to convert AMD modules (define pattern) into ES6 module syntax. Current version 0.2.0, last updated in 2014. It handles simple cases like modules with/without dependencies and imports for side-effects, but does NOT support named define modules, multiple define per file, or UMD patterns. The library is effectively abandoned as there are more modern alternatives like jscodeshift or lebab, and no updates since 2014. It works by parsing AMD define calls and rewriting to import/export statements, with options for directory batch processing, glob patterns, and beautification via jsbeautify.","language":"javascript","status":"abandoned","version":"0.2.0","tags":["javascript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install amd-to-es6","imports":["import { convert } from 'amd-to-es6'","import amdToEs6 from 'amd-to-es6'","import { convertSync } from 'amd-to-es6'"]},{"cmd":"yarn add amd-to-es6","imports":[]},{"cmd":"pnpm add amd-to-es6","imports":[]}],"homepage":null,"github":"https://github.com/jonbretman/amd-to-as6","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/amd-to-es6","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}