The purpose of this kata is to get your feet wet with Deno and get the environment running on your system so don't expect too much yet.
During the following katas, we'll build a small static site generator that includes basic functionality such as a development server, static build, and a command line interface for triggering the features. Essentially you can use the tool for building websites and applications of your own.
Note that if you use Visual Studio Code as your editor, you can copy a good configuration from the root of this project from .vscode/settings.json
. The configuration sets up Deno related plugins for the workspace and gives you features such as automatic formatting and access to Deno language server for completions and refactoring.
The idea here is to get a Deno server running and cover the following:
- Running Deno
- Fetching data
- Creating Deno tasks
Complete the following:
- Create a Deno script that emits "Hello world!" when you run it. Hint: You can use the
deno --help
command to figure out what to do with the runtime. See also documentation for further instructions especially if you are not familiar with JavaScript yet. - Create a Deno script to fetch Deno logo and print its contents to the console.
- To make it convenient to run Deno in different ways, set up Deno tasks for running the scripts.