{"id":16355974,"url":"https://github.com/timobechtel/template-ts-lib","last_synced_at":"2025-12-08T03:30:15.565Z","repository":{"id":117357146,"uuid":"463622400","full_name":"TimoBechtel/template-ts-lib","owner":"TimoBechtel","description":"Typescript project template for library authors.","archived":false,"fork":false,"pushed_at":"2023-07-27T14:59:16.000Z","size":241,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-29T06:10:52.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/TimoBechtel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-25T17:37:10.000Z","updated_at":"2023-03-07T02:39:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"217f9ce7-af64-4cdb-88eb-86566d08c134","html_url":"https://github.com/TimoBechtel/template-ts-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Ftemplate-ts-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Ftemplate-ts-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Ftemplate-ts-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Ftemplate-ts-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimoBechtel","download_url":"https://codeload.github.com/TimoBechtel/template-ts-lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239665440,"owners_count":19676937,"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":[],"created_at":"2024-10-11T01:42:17.880Z","updated_at":"2025-12-08T03:30:15.496Z","avatar_url":"https://github.com/TimoBechtel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n🧩\n\u003cbr/\u003e\nv__PROJECT_NAME\n\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003ev__PROJECT_DESCRIPTION\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  ·\n  \u003ca href=\"https://github.com/v__GITHUB_USER/v__PROJECT_NAME/issues\"\u003eReport Bug / Request Feature\u003c/a\u003e\n  ·\n\u003c/p\u003e\n\n## Table of Contents\n\n- [About](#about)\n- [Installation](#install)\n- [Usage](#usage)\n- [Development / Contributing](#Development-Contributing)\n\n## About\n\nThis template is an opinionated boilerplate for typescript libraries.\n\n## TL;DR\n\n```sh\npnpm dlx degit TimoBechtel/template-js-lib \u0026\u0026 pnpm i \u0026\u0026 ./init-scripts/init.sh\n```\n\n## Install\n\nThere are multiple ways to use this template:\n\n- use the Github template feature\n- use [degit](https://github.com/Rich-Harris/degit)\n\n  ```sh\n  pnpm dlx degit TimoBechtel/template-js-lib\n  ```\n\n## Usage\n\n1. Search for variables starting with `v__` to edit the most important variables. (e.g. `v__PROJECT_NAME`) or simply run `./init-scripts/init.sh` for an interactive setup.\n2. Enable github workflows, if needed, by renaming the `disabled.github/workflows/` folder to `.github/workflows/`\n3. Create an npm token and add it to the github project settings, if you want to publish to npm.\n\n## Package format / Browser support\n\n### Format\n\nThis package is compiled to support both CommonJS and ES modules.\n\n### Transpilation / Browser support\n\nThis package is not transpiled to support older browsers. This reduces the package size and performance and allows the consumer to choose the transpilation target.\nIf you need to support older browsers, you can configure your bundler to transpile this package.\n\nExample when using Next.js ([docs](https://nextjs.org/docs/advanced-features/compiler#module-transpilation))\n\n```js\nmodule.exports = {\n\ttranspilePackages: ['v__PROJECT_NAME'],\n};\n```\n\n## Development / Contributing\n\n### Run tests\n\n```sh\npnpm test\n```\n\n### Commit messages\n\nThis project uses semantic-release for automated release versions. So commits in this project follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.2/) guidelines. I recommend using [commitizen](https://github.com/commitizen/cz-cli) for automated commit messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimobechtel%2Ftemplate-ts-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimobechtel%2Ftemplate-ts-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimobechtel%2Ftemplate-ts-lib/lists"}