1.0.1 • Published 1 year ago
babel-astify v1.0.1
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']);