babel-literal-to-ast
v2.1.0
Published
Turn JavaScript objects into their AST representation.
Downloads
528,388
Readme
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.