D
Deno
When to use deno add compared to import with a prefix? - Deno
C
Deno
β’
12mo ago
β’
2 replies
ciscoheat
When to use deno add compared to import with a prefix?
As the title says
, I can import like this
:
import
{ parse }
from
"jsr:@std/csv/parse"
;
import
{ parse }
from
"jsr:@std/csv/parse"
;
And it will work
, but there is also
deno add
deno add
, which I
'm recommended to use if I import from
@std/csv/parse
@std/csv/parse
. When should I use
deno add
deno add
?
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Deno import use for local files?
J
jradxl / help
2y ago
Deno: How to import npm scoped packages with @ in deno?
A
Alex Advent / help
3y ago