alexcanessa / typescript-coverage-report

Node command tool to generate TypeScript coverage report
MIT License
497 stars 32 forks source link

Obligatory Deno question #77

Open vegerot opened 3 years ago

vegerot commented 3 years ago

It seems hard to go into a JavaScript/TypeScript library's issues and not have someone asking about Deno

Well, here it is: does typescript-coverage-report support Deno?

alexcanessa commented 2 years ago

Hello @vegerot sorry didn't see this. As far as I understand Deno is for runtime, where this tool tests and generates type coverage of your project.

Am I missing something here?

vegerot commented 2 years ago

Sorry, I should have explained more clearly. In the Install instructions you give instructions to install a Node.js package, but no Deno instructions. I would like something like

deno install --allow-read https://alexcanessa.com/typescript-coverage-report.ts

or something 🙂

I'll probably open an issue on https://github.com/plantain-00/type-coverage too to ask about a Deno API for that too 😁

Thanks

alexcanessa commented 2 years ago

Ok ok, so just a README.md update? Fancy contributing too? 🎉

vegerot commented 2 years ago

Just a README.md update if that's all that's needed. Does this package use any Node libraries (like fs, path, etc.)?

Does running the above command work for you?

alexcanessa commented 2 years ago

@vegerot yes it does use both fs and path. Are you able to check yourself? I'm assuming you got Deno?

vegerot commented 2 years ago

Well first of all, I'm not even sure which URL I should use to install it.

https://deno.land/manual/tools/script_installer#script-installer

Should I try unpkg?

Note that Deno does not have any Node.js libraries, so using fs or path will not work