Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arethetypeswrong/arethetypeswrong.github.io

Tool for analyzing TypeScript types of npm packages
https://github.com/arethetypeswrong/arethetypeswrong.github.io

Last synced: about 2 months ago
JSON representation

Tool for analyzing TypeScript types of npm packages

Awesome Lists containing this project

README

        

# [arethetypeswrong.github.io](https://arethetypeswrong.github.io)

This project attempts to analyze npm package contents for issues with their TypeScript types, particularly ESM-related module resolution issues. Packages can be explored via the [website](https://arethetypeswrong.github.io) or [CLI](./packages/cli). The following kinds of problems can be detected in the `node10`, `node16`, and `bundler` module resolution modes:

* [๐Ÿ’€ Resolution failed](./docs/problems/NoResolution.md)
* [โŒ No types](./docs/problems/UntypedResolution.md)
* [๐ŸŽญ Masquerading as CJS](./docs/problems/FalseCJS.md)
* [๐Ÿ‘บ Masquerading as ESM](./docs/problems/FalseESM.md)
* [โš ๏ธ ESM (dynamic import only)](./docs/problems/CJSResolvesToESM.md)
* [๐Ÿ› Used fallback condition](./docs/problems/FallbackCondition.md)
* [๐Ÿคจ CJS default export](./docs/problems/CJSOnlyExportsDefault.md)
* [โ—๏ธ Incorrect default export](./docs/problems/FalseExportDefault.md)
* [โ“ Missing `export =`](./docs/problems/MissingExportEquals.md)
* [๐Ÿšญ Unexpected module syntax](./docs/problems/UnexpectedModuleSyntax.md)
* [๐Ÿฅด Internal resolution error](./docs/problems/InternalResolutionError.md)

## CLI

You can check packages on disk with [`@arethetypeswrong/cli`](https://npmjs.com/@arethetypeswrong/cli). See [its README](./packages/cli/README.md) for usage.

## Contributing

Contributions are welcome! Take a look at the open issues or read about [how to contribute to open source](https://opensource.guide).