babel-object-to-ast
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

babel-literal-to-ast

Turn JavaScript objects into their AST representation.

import serialize from 'babel-literal-to-ast';
 
// Get the AST.
serialize({ message: 'Hello' });

TODO:

  • tests and stuff.

Readme

Keywords

none

Package Sidebar

Install

npm i babel-object-to-ast

Weekly Downloads

3

Version

2.1.5

License

CC0-1.0

Unpacked Size

5.96 kB

Total Files

11

Last publish

Collaborators

  • cyrus-d