mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
b5f6f97234
Original: 9b8923844f
18 lines
394 B
Markdown
18 lines
394 B
Markdown
# Deno Example Programs
|
|
|
|
These files are accessible for import via "https://deno.land/x/examples/".
|
|
|
|
Try it:
|
|
|
|
```
|
|
> deno https://deno.land/x/examples/gist.ts README.md
|
|
```
|
|
|
|
## Alias Based Installation
|
|
|
|
Add this to your `.bash_profile`
|
|
|
|
```
|
|
export GIST_TOKEN=ABC # Generate at https://github.com/settings/tokens
|
|
alias gist="deno https://deno.land/x/examples/gist.ts --allow-net --allow-env"
|
|
```
|