https://github.com/arvid-berndtsson/deno-template
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: arvid-berndtsson
- License: mit
- Language: TypeScript
- Default Branch: main
- Size: 6.84 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Deno Project Template 🦕
A clean, minimal template for Deno CLI applications with built-in testing, formatting, and compilation support.
✨ Features
- 🚀 Ready to Run: Minimal CLI application with command-line argument parsing
- 🧪 Testing Setup: Basic test structure with Deno's built-in test runner
- 📦 Compilation Ready: Easy compilation to native executables for all platforms
- 🔧 Development Tools: Pre-configured tasks for development, testing, and formatting
- 📋 Task Management: Mise.toml for easy task running and project management
🚀 Quick Start
Prerequisites
- Deno: Install from deno.land
- Mise (optional): Install from mise.jdx.dev for enhanced task management
Running the Application
```bash
Basic run
deno run main.ts
With arguments
deno run main.ts --name "Your Name"
Development mode with file watching
deno task dev ```
Testing
```bash
Run tests
deno test
Run tests in watch mode
deno task test:watch ```
Code Quality
```bash
Format code
deno task fmt
Lint code
deno task lint ```
📦 Compilation
Create standalone executables for distribution:
```bash
Compile for current platform
deno task build
Compile for all platforms
deno task build-all ```
🛠️ Available Tasks
Using Deno Tasks
bash
deno task dev # Development mode with file watching
deno task test # Run tests
deno task fmt # Format code
deno task lint # Lint code
deno task build # Compile to executable
Using Mise (if installed)
bash
mise run dev # Development mode
mise run test # Run tests
mise run fmt # Format code
mise run lint # Lint code
mise run build # Compile to executable
mise run build-all # Compile for all platforms
📁 Project Structure
├── main.ts # Main application entry point
├── main_test.ts # Test file
├── deno.json # Deno configuration and tasks
├── deno.lock # Dependency lock file
├── mise.toml # Mise task definitions
├── README.md # This file
└── LICENSE # MIT License
🔧 Customization
- Update Application Name: Change the app name in
main.ts - Add Dependencies: Update
deno.jsonimports section - Modify Tasks: Edit
deno.jsonandmise.tomlfor custom tasks - Add Features: Extend
main.tswith your application logic
📄 License
This project is licensed under the MIT License.
Owner
- Name: Arvid Berndtsson
- Login: arvid-berndtsson
- Kind: user
- Location: Sweden
- Company: @LimeTip
- Website: https://arvidberndtsson.com
- Repositories: 1
- Profile: https://github.com/arvid-berndtsson
Based in Malmö, Sweden, I specialize in software development and digital sustainability. Founder of @LimeTip and Co-Founder of @merely-emissions
GitHub Events
Total
- Push event: 2
- Create event: 4
Last Year
- Push event: 2
- Create event: 4
Issues and Pull Requests
Last synced: 11 months ago