Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
web
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

A JSX transformer for migi

lefty取自动漫寄生兽主角小右在英文版翻译的镜像名,意指将jsx语言翻译为等价的es6。

NPM version Build Status Coverage Status Dependency Status

INSTALL

npm install lefty

logo

文档

https://github.com/migijs/lefty/wiki/%E6%96%87%E6%A1%A3

API

  • parse(code:String):String 传入要解析的jsx代码,返回翻译好的js代码
  • tokens():Array<Token> 返回jsx的token列表
  • ast():Object 返回jsx的语法树

Demo

License

[MIT License]

About

A JSX transformer for migi

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.