Importing modules #4
-
I am new to deno and dpm and I can't find any documentation anywhere on usage. How do I import a module I installed into my file and use it? |
Beta Was this translation helpful? Give feedback.
Answered by
TeoDev1611
May 10, 2022
Replies: 1 comment
-
Hello! Currently I am working in the development branch with the documentation and can you install the development branch with the news and documentation with this:
And for use the modules imported in the import map you need use like node: import { serve } from "http/server.ts";
serve(req => new Response("Hello World\n")); I hope help you thanks for use DPM :) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TeoDev1611
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Currently I am working in the development branch with the documentation and can you install the development branch with the news and documentation with this:
And for use the modules imported in the import map you need use like node:
I hope help you thanks for use DPM :)