Quickly start a Deno module.
A quick look at the files and directories you'll see in a Deno project.
.
├─ .github
│ └─ workflows
│ └─ ci.yml
├─ .gitattributes
├─ .gitignore
├─ CHANGELOG.md
├─ LICENSE
├─ mod_test.ts
├─ mod.ts
└─ README.md
-
.github\workflows\ci.yml
: GitHub Actions. -
.gitattributes
: This file is a simple text file that givesattributes
to pathnames. -
.gitignore
: This file tells git which files it should not track / not maintain a version history for. -
CHANGELOG.md
: This file contains a curated, chronologically ordered list of notable changes for each version of a project. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. -
LICENSE
: Deno is licensed under the MIT license. -
mod.ts
: Deno's default entry point. The filename mod.ts follows Rust’s convention, is shorter than index.ts, and doesn’t come with any preconceived notions about how it might work. Deno does not treat "index.js" or "index.ts" in a special way. By using these filenames, it suggests that they can be left out of the module specifier when they cannot. This is confusing. -
mod_test.ts
: Each module should come with its test as a sibling with the namemodulename_test.ts
. For example the modulefoo.ts
should come with its siblingfoo_test.ts
. -
README.md
: A text file containing useful reference information about your project.
deno_starter is released under the MIT License. See the bundled LICENSE file for details.