babel-literal-to-ast

Turn JavaScript objects into their AST representation.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-literal-to-ast
15102.1.05 years ago9 years agoMinified + gzip package size for babel-literal-to-ast in KB

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.