babel plugin transform pipeline:将管道运算符编译为ES5 源码
babel-plugin-transform-pipeline 将管道运算符( |> )编译为ES5 提案: 例 基本的 在 var user = { name : 'SuperPaintman' } ; function capitalize ( str ) { return str . toUpperCase ( ) ; } function sayHello ( name ) { return 'Hello, ' + name + '!' ; } var res = user . name | > capitalize | > sayHello ; // => "H
下载地址
用户评论