typescript-coverage-report
typescript-coverage-report copied to clipboard
Obligatory Deno question
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?
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?
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
Ok ok, so just a README.md update? Fancy contributing too? 🎉
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?
@vegerot yes it does use both fs and path.
Are you able to check yourself? I'm assuming you got Deno?
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