diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-19 13:50:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-19 13:50:48 -0500 |
| commit | 3542f2de0cecdbcf07d3bea3de6439e6a87376df (patch) | |
| tree | 53c39ae3456fa8d6a360485378e8d82949b09e9a /examples/README.md | |
| parent | ecde6a4c503584aa712f40e70c8e1aa78959e110 (diff) | |
Add examples/ directory (denoland/deno_std#28)
Previously https://github.com/denoland/deno_examples
Original: https://github.com/denoland/deno_std/commit/14be9a0e82d1b54d5b0f04291d9154d1d7da29f7
Diffstat (limited to 'examples/README.md')
| -rw-r--r-- | examples/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 000000000..2e920f479 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,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" +``` |
