babel-astify
v1.0.1
Published
This small library is create to simplify the transforming javascript literal to babel literal node.
Downloads
1
Readme
astify
This small library is create to simplify the transforming javascript literal to babel literal node.
usage
- import the package
import astify from 'babel-astify/dist/index';
- call the function
astify(3);
astify(null);
astify('cluo');
astify({ name: 'cluo' });
astify(['hell', 'cluo']);