1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/examples
2019-03-04 19:53:35 -05:00
..
cat.ts Add missiong copyright headers (#177) 2019-02-07 11:45:47 -05:00
echo_server.ts Change import { x } from "deno" to const { x } = Deno (#218) 2019-02-26 00:35:50 -05:00
gist.ts Add eslint for linting (#235) 2019-03-04 19:53:35 -05:00
README.md Format (#42) 2018-12-24 10:28:01 -05:00
test.ts Change import { x } from "deno" to const { x } = Deno (#218) 2019-02-26 00:35:50 -05:00
ws.ts Add eslint for linting (#235) 2019-03-04 19:53:35 -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"