Is it reasonable to import TypeScript source from Github instead of compiled NPM library? (Twurple)
This might not be the place, but I'm brain dead and soon going to bed, so here goes.
Today I tried to get Twurple working in Deno as I want a premade library for Twitch, but I can't for the life of me get types working when importing it from NPM, it just doesn't do anything while I got Discord.js to work just fine.
But, the whole project is written in TypeScript on Github, so, would it be a valid path to pursue and include the source of the project directly? I believe I read that Deno can import directly from Github, with that I hope types have a higher chance of working. I might have to try and import the right folder in the repository though, not sure if that kind of granularity is possible.
I'll try this tomorrow, if I have time after social engagements, but if anyone has any prior experience doing anything like this it would be lovely to hear how it went. That's about it!
Happy Friday!
Today I tried to get Twurple working in Deno as I want a premade library for Twitch, but I can't for the life of me get types working when importing it from NPM, it just doesn't do anything while I got Discord.js to work just fine.
But, the whole project is written in TypeScript on Github, so, would it be a valid path to pursue and include the source of the project directly? I believe I read that Deno can import directly from Github, with that I hope types have a higher chance of working. I might have to try and import the right folder in the repository though, not sure if that kind of granularity is possible.
I'll try this tomorrow, if I have time after social engagements, but if anyone has any prior experience doing anything like this it would be lovely to hear how it went. That's about it!
Happy Friday!
