summaryrefslogtreecommitdiff
path: root/examples/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/README.md')
-rw-r--r--examples/README.md16
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"
+```