Skip to main content
Deno 2 is finally here 🎉️
Learn more
#

Denosk

The task runner for Deno

Denosk is a task runner for Deno, if you come from Node JS with the Yarn package manager and you miss being able to run a script with yarn dev or yarn start and you want to avoid writing commands like deno task dev or trex run dev if you are using the manager of Deno’s Trex packages then Denosk is for you.

Installation

deno install -A --unstable -n denosk --no-check https://deno.land/x/denosk/cli.ts

Permissions

The permissions that Denosk uses are –allow-read and –allow-run.

Usage

To display help on how to use Denosk.

denosk help

To display all tasks from your deno.json, deno.jsonc or run.json file if you are using Trex scripts.

denosk tasks

To execute a task found in your deno.json, deno.jsonc or run.json file if you are using Trex, with Denosk just pass the name of the task to be executed after the word denosk as in the following example.

denosk start

Why Denosk?

Denosk is born from a combination between the word Deno and the word Task, it’s that simple.