Skip to content

Commit dd487cb

Browse files
committed
Add link in docs to estree-util-to-js
1 parent a8b2b99 commit dd487cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ style).
184184
You may have to do `program.comments = null` for certain compilers.
185185

186186
There aren’t many great estree serializers out there that support JSX.
187-
[recast][] does a fine job.
188-
Or use [`estree-util-build-jsx`][build-jsx] to turn JSX into function
189-
calls and then serialize with whatever (astring, escodegen).
187+
To do that, you can use [`estree-util-to-js`][estree-util-to-js].
188+
Or, use [`estree-util-build-jsx`][build-jsx] to turn JSX into function
189+
calls, and then serialize with whatever (astring, escodegen).
190190

191191
## Types
192192

@@ -284,7 +284,7 @@ abide by its terms.
284284

285285
[program]: https://github.com/estree/estree/blob/master/es5.md#programs
286286

287-
[recast]: https://github.com/benjamn/recast
287+
[estree-util-to-js]: https://github.com/syntax-tree/estree-util-to-js
288288

289289
[mdast-util-mdx]: https://github.com/syntax-tree/mdast-util-mdx
290290

0 commit comments

Comments
 (0)