I wonder if it would be possible to get the number of the line that is currently being parsed.
This way one can throw custom syntax errors like:
throw new Error(`Invalid element 'slot' inside div at line ${lineNumber}`);
Owner Name | fb55 |
Repo Name | htmlparser2 |
Full Name | fb55/htmlparser2 |
Language | TypeScript |
Created Date | 2011-08-27 |
Updated Date | 2023-03-19 |
Star Count | 3793 |
Watcher Count | 50 |
Fork Count | 370 |
Issue Count | 4 |
Issue Title | Created Date | Updated Date |
---|