mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
parent
b9914c3113
commit
2cf3a89f63
1 changed files with 10 additions and 0 deletions
10
Docs.md
10
Docs.md
|
@ -75,6 +75,16 @@ while (true) {
|
|||
// TODO top level await doesn't work yet.
|
||||
```
|
||||
|
||||
### Example: Url imports
|
||||
|
||||
```ts
|
||||
import { printHello } from "https://raw.githubusercontent.com/denoland/deno/master/tests/subdir/print_hello.ts";
|
||||
printHello();
|
||||
```
|
||||
|
||||
The next time you import the same file from same uri it will use the cached
|
||||
resource instead of downloading it again.
|
||||
|
||||
## How to Profile Deno
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Add table
Reference in a new issue