babel-astring-generator
v1.0.1
Published
An astring generator that is compatible with the Babel AST.
Downloads
1
Readme
astring generator for the Babel AST
An astring generator that is compatible with the Babel AST.
Usage
import * as astring from "astring";
import { generator, expressionsPrecedence } from "./lib/index";
astring.generate(ast.program, {
generator,
expressionsPrecedence,
comments: true,
sourceMap: null,
});