summaryrefslogtreecommitdiff
path: root/examples/README.md
blob: 2e920f4796ff490b3a8c57e959e00e6d78c2f292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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"
```