glato / emerge

Emerge is a browser-based interactive codebase and dependency visualization tool for many different programming languages. It supports some basic code quality and graph metrics and provides a simple and intuitive way to explore and analyze a codebase by using graph structures.
MIT License
783 stars 46 forks source link

Parse require-style imports for JS & TS #3

Closed nicoespeon closed 3 years ago

nicoespeon commented 3 years ago

As discussed, I finally adapted the parsers to handle the require() imports.

I added tests to show it's working fine. I also added TS tests that were missing (a duplicate from JS ones at this point).