Babylon has neat things in my opinion:
- plugin system which makes it easy to add new syntax which people probably use and compile it down with babel
- support for more language which build on top of JS like Flow and TypeScript
I'm not sure with TypeScript support in Babylon means it works in Recast, see Recast ticket here.
Also I could not say with the documentation I found if nodes have more methods like babel provides. Things I saw like this example https://github.com/hoschi/babel-plugin-react-intl/blob/master/src/index.js#L269
Where you can gather the "binding" of a function call to find the module which this function was imported from.
Babylon has neat things in my opinion:
I'm not sure with TypeScript support in Babylon means it works in Recast, see Recast ticket here.
Also I could not say with the documentation I found if nodes have more methods like babel provides. Things I saw like this example https://github.com/hoschi/babel-plugin-react-intl/blob/master/src/index.js#L269
Where you can gather the "binding" of a function call to find the module which this function was imported from.