recast-function
v1.0.6
Published
Use recast to translater function.
Downloads
2
Maintainers
Readme
recast-function
不同函数间的转换,目前支持,将普通函数转换成继承React.Component的class构造函数。
how to use
step 1
- npm install -g cnpm --registry=https://registry.npm.taobao.org
- cnpm install recast-function --save
- 或者使用 yarn add recast-function
step 2
import recastFunction from 'recast-function';
- use