babel-astring-generator

1.0.1 • Public • Published

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,
});

Readme

Keywords

none

Package Sidebar

Install

npm i babel-astring-generator

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

31.7 kB

Total Files

4

Last publish

Collaborators

  • jasperdm