📝 Edit page
➕ Add page
Basic
See also this deno-quickstart I found.
Samples
Greeting
Hello world with colors.
From post
hello-world.ts
import { bgBlue, red, bold } from "https://deno.land/std/colors/mod.ts"; const sayHello = (name: string = "world") => { console.log(bgBlue(red(bold(`Hello ${name}!`)))); } sayHello(); sayHello("fellow dev");
Run:
$ deno hello-world.ts