Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
the_gipsy
· 4y ago · 0 comments
What about using an npm package in deno?
Comments
[–]
wperron
4y ago
Has been possible (and surprinsingly easy) for a while through CDNs like skypack or esm.sh
[–]
yencabulator
4y ago
It's possible when it happens to work.
https://github.com/esm-dev/esm.sh/issues?q=is%3Aissue+is%3Ao...
[–]
the_gipsy
OP
4y ago
So deno runs JS? I thought it ran exclusively typescript.
[–]
whostolemyhat
4y ago
Javascript is Typescript - TS is a superset of JS, so valid JS is valid TS, although you'd almost certainly get lint errors in dev complaining about lack of types.