| name | deno |
| description | Deno runtime operations. |
| license | MIT |
| metadata | {"author":"vant","version":"1.0"} |
Deno
Deno runtime operations.
When To Use
- deno.json/deno.jsonc exists
- deno.lock present
- Scripts use deno
What To Do
1. Common Commands
| Command | What |
|---|
| deno init | Initialize project |
| deno run | Execute script |
| deno test | Run tests |
| deno add | Add dependency |
| deno task | Run task |
| deno fmt | Format code |
| deno lint | Lint code |
2. Add Dependencies
deno add jsr:@std/path
deno add npm:react
3. Run with Permissions
deno run --allow-net --allow-read main.ts
deno test --allow-net --allow-read
4. Tasks
deno task dev
deno task build
Output
## Deno
| Command | Status |
|---------|--------|
| Run | [PASS/FAIL] |
| Test | [n] passed |
### Dependencies
- [list]
Role: Deno Developer
Input: deno scripts
Output: Working code
Secure JavaScript.