{"id":13555036,"url":"https://github.com/denorg/starter","last_synced_at":"2025-04-12T10:35:40.374Z","repository":{"id":57107517,"uuid":"264041075","full_name":"denorg/starter","owner":"denorg","description":"🏁 Deno starter repository with CI, releases, and more","archived":false,"fork":false,"pushed_at":"2020-05-30T11:03:30.000Z","size":33,"stargazers_count":28,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T00:38:26.090Z","etag":null,"topics":["deno","denoland","denorg","starter","starter-kit","typescript"],"latest_commit_sha":null,"homepage":"https://denorg.github.io/starter/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-14T22:40:46.000Z","updated_at":"2024-06-20T15:18:23.000Z","dependencies_parsed_at":"2022-08-20T17:11:20.387Z","dependency_job_id":null,"html_url":"https://github.com/denorg/starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Fstarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Fstarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Fstarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Fstarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denorg","download_url":"https://codeload.github.com/denorg/starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248554051,"owners_count":21123575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deno","denoland","denorg","starter","starter-kit","typescript"],"created_at":"2024-08-01T12:03:00.304Z","updated_at":"2025-04-12T10:35:40.111Z","avatar_url":"https://github.com/denorg.png","language":"TypeScript","readme":"# 🏁 Deno Starter\n\nThis is a starter template for building Deno packages in TypeScript, with GitHub Actions-powered CI, tests, CLI, and Semantic Release on GitHub and npm.\n\n[![Deno CI](https://github.com/denorg/starter/workflows/Deno%20CI/badge.svg)](https://github.com/denorg/starter/actions)\n[![GitHub](https://img.shields.io/github/license/denorg/starter)](https://github.com/denorg/starter/blob/master/LICENSE)\n[![Contributors](https://img.shields.io/github/contributors/denorg/starter)](https://github.com/denorg/starter/graphs/contributors)\n[![Deno Starter](https://img.shields.io/badge/deno-starter-brightgreen)](https://denorg.github.io/starter/)\n[![Made by Denorg](https://img.shields.io/badge/made%20by-denorg-0082fb)](https://github.com/denorg)\n[![TypeScript](https://img.shields.io/badge/types-TypeScript-blue)](https://github.com/denorg/starter)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n## 💡 How to use\n\n1. [Create a new repository](https://github.com/denorg/starter/generate) using this template\n2. Update the project name (\"Deno Starter\") from the first line in `README.md`\n3. Find and replace \"denorg/starter\" with your \"username/repository\" in `README.md`\n4. Update the \"Getting started\" guide with your exported functions' names\n5. In `.github/workflows/*.yml` files, add additional permissions after `deno test`\n6. Setup Semantic Release\n  - Add a repository secret `NPM_TOKEN` with your npm token\n  - In `.github/workflows/deno.yml`, find and replace \"denorg/starter\" with your \"username/repository\"\n7. Remove this section (\"How to use\") after setting up your respoitory\n\nIf you're not building a Denorg project, the following steps are required too:\n\n1. Remove the \"A project by Denorg...\" footer from `README.md`\n2. Remove the \"Made by Denorg\" shield from the `README.md` badges section\n3. Change the \"Denorg\" name to yours in `LICENSE` and under \"License\" in `README.md`\n\n## ⭐ Getting started\n\nImport the `mode` function and use it:\n\n```ts\nimport { mode } from \"https://raw.githubusercontent.com/denorg/starter/master/mod.ts\";\n\nconst result = mode();\n```\n\n### CLI with [DPX](https://github.com/denorg/dpx)\n\nAfter [installing DPX](https://github.com/denorg/dpx), you can directly use the CLI using the `dpx` command:\n\n```bash\ndpx --allow-read starter \u003carguments\u003e\n```\n\n### CLI\n\nAlternatively, you can use it directly from the CLI by using `deno run`:\n\n```bash\ndeno run --allow-read https://raw.githubusercontent.com/denorg/starter/master/cli.ts \u003carguments\u003e\n```\n\nYou can also install it globally using the following:\n\n```bash\ndeno install --allow-read -n starter https://raw.githubusercontent.com/denorg/starter/master/cli.ts\n```\n\nThen, the package is available to run:\n\n```bash\nstarter \u003carguments\u003e\n```\n\n### Configuration\n\nRequired permissions:\n\n1. `--allow-read`\n\n## 👩‍💻 Development\n\nRun tests:\n\n```bash\ndeno test --allow-read\n```\n\n## 📄 License\n\nMIT © [Denorg](https://den.org.in)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://den.org.in\"\u003e\n    \u003cimg width=\"100\" alt=\"\" src=\"https://raw.githubusercontent.com/denorg/denorg/master/logo.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003csub\u003eA project by \u003ca href=\"https://den.org.in\"\u003eDenorg\u003c/a\u003e, the world's first Deno-focused community\u003cbr\u003eorganization and consulting company. \u003ca href=\"https://den.org.in\"\u003eWork with us →\u003c/a\u003e\u003c/sub\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":["TypeScript","基础设施","Tools"],"sub_categories":["JAM Stack/静态站点","Online Playgrounds","XML","Assistants"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenorg%2Fstarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenorg%2Fstarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenorg%2Fstarter/lists"}