mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
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"
|
|
```
|