UNPKG
estree-to-babel
Version:
latest (12.0.1)
12.0.1
12.0.0
11.1.0
11.0.3
11.0.2
11.0.1
11.0.0
10.5.0
10.4.0
10.3.0
10.2.0
10.1.0
10.0.1
10.0.0
9.1.0
9.0.0
8.1.1
8.1.0
8.0.0
7.0.0
6.0.0
5.2.0
5.1.0
5.0.1
5.0.0
4.9.0
4.8.0
4.7.0
4.6.0
4.5.0
4.4.0
4.3.0
4.2.0
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
3.2.1
3.2.0
3.1.1
3.1.0
3.0.1
3.0.0
2.1.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.8.2
1.8.1
1.8.0
1.7.0
1.6.0
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
convert estree ast to babel
github.com/coderaiser/estree-to-babel
coderaiser/estree-to-babel
estree-to-babel
/
lib
/
estree-to-babel.d.ts
5 lines
(3 loc)
•
151 B
TypeScript
View Raw
1
2
3
4
5
import
{
ParseResult
, types}
from
'@putout/babel'
;
declare
function
toBabel
(
ast
: types.
Node
,
src
?:
string
):
ParseResult
<types.
File
>;
export
= toBabel;