1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/examples
2019-04-07 20:30:45 -04:00
..
cat.ts Use Deno global var instead of built-in "deno" module (denoland/deno_std#247) 2019-03-07 19:25:16 -05:00
colors.ts Documentation clean up (denoland/deno_std#288) 2019-03-18 11:08:01 -04:00
echo_server.ts Change import { x } from "deno" to const { x } = Deno (denoland/deno_std#218) 2019-02-26 00:35:50 -05:00
gist.ts Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239) 2019-03-06 10:24:53 -05:00
README.md refactor: update for flag change in the next version (denoland/deno_std#327) 2019-04-07 20:30:45 -04:00
test.ts Rename assertEq to assertEquals (denoland/deno_std#242) 2019-03-06 19:42:24 -05:00
ws.ts Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239) 2019-03-06 10:24:53 -05:00

Deno Example Programs

These files are accessible for import via "https://deno.land/std/examples/".

Try it:

> deno https://deno.land/std/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 --allow-net --allow-env https://deno.land/std/examples/gist.ts"