1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/examples
2019-01-24 13:33:51 -05:00
..
cat.ts Add examples/ directory (denoland/deno_std#28) 2018-12-19 13:50:48 -05:00
echo_server.ts Add examples/ directory (denoland/deno_std#28) 2018-12-19 13:50:48 -05:00
gist.ts Reorgnanize repos, examples and tests (denoland/deno_std#105) 2019-01-12 16:50:04 -05:00
README.md Format (denoland/deno_std#42) 2018-12-24 10:28:01 -05:00
test.ts Disable cat.ts test because it's broken on Windows. 2019-01-24 13:33:51 -05:00
ws.ts Reorgnanize repos, examples and tests (denoland/deno_std#105) 2019-01-12 16:50:04 -05:00

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"