babel-literal-to-ast
Turn JavaScript objects into their AST representation.
Last updated 9 months ago by izaakschroeder .
CC0-1.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-literal-to-ast 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.1.0                                ...           latest (9 months ago)

6 Versions

  • 2.1.0                                ...           9 months ago
  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |