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