UNPKG

esbeautify

Version:

lightweight and blazing fast JavaScript code generator from an EScaya-compliant AST

2 lines (1 loc) 215 B
import{parseScript as r,parseModule as o}from"escaya";import{generate as e}from"escaya-codegen";function n(o,n){return e(r(o,n),n)}function t(r,n){return e(o(r,n),n)}export{t as beautifyModule,n as beautifyScript};