Publish your own packages to the world's most popular software ecosystem with npm Pro.Get started »

babel-literal-to-ast

2.1.0 • 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.

Keywords

none

Install

npm i babel-literal-to-ast

DownloadsWeekly Downloads

62,045

Version

2.1.0

License

CC0-1.0

Unpacked Size

7.7 kB

Total Files

8

Last publish

Collaborators

  • avatar