{"id":25803311,"url":"https://github.com/chrisdothtml/minimal-node-ts-starter","last_synced_at":"2026-04-17T04:05:14.962Z","repository":{"id":277491581,"uuid":"931806010","full_name":"chrisdothtml/minimal-node-ts-starter","owner":"chrisdothtml","description":"A minimal example of using node's built-in support for running and testing Typescript code","archived":false,"fork":false,"pushed_at":"2025-02-14T07:06:09.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T07:33:36.131Z","etag":null,"topics":["no-build","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisdothtml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-12T22:11:11.000Z","updated_at":"2025-02-14T07:06:11.000Z","dependencies_parsed_at":"2025-02-14T07:33:40.705Z","dependency_job_id":"b02056f0-d190-498d-908d-66671417ad50","html_url":"https://github.com/chrisdothtml/minimal-node-ts-starter","commit_stats":null,"previous_names":["chrisdothtml/minimal-node-ts-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdothtml%2Fminimal-node-ts-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdothtml%2Fminimal-node-ts-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdothtml%2Fminimal-node-ts-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdothtml%2Fminimal-node-ts-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisdothtml","download_url":"https://codeload.github.com/chrisdothtml/minimal-node-ts-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241040453,"owners_count":19898871,"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":["no-build","nodejs","typescript"],"created_at":"2025-02-27T17:44:48.110Z","updated_at":"2026-04-17T04:05:14.957Z","avatar_url":"https://github.com/chrisdothtml.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minimal-node-ts-starter\n\n- Uses node's `--experimental-transform-types` ([docs](https://nodejs.org/api/typescript.html#type-stripping)), so you can execute TypeScript files directly from node (so no build steps, and no `tsm`)\n- Uses node's test runner\n- Only dependencies are for typechecking and code linting/formatting\n\n### Tools required\n\nNeither of these are actually required, but having them offers the simplest/cleanest way to use this repo.\n\n- [volta](https://volta.sh/) (for auto-installing/loading node/yarn from package.json config)\n- [direnv](https://direnv.net/docs/installation.html) (for loading `NODE_OPTIONS` from `.envrc`)\n\nThis repo also comes with vscode settings for auto-formatting and validating the code, just make sure you have the recommended extensions installed.\n\n### Try it out\n\n```sh\n# enable direnv in this dir\ndirenv allow\n\n# run program\nnode ./src/index.ts\n\n# install deps for local validators\nyarn install\n\n# lint files with prettier (`lint-fix` to fix errors)\nyarn lint\n\n# run Typescript validations\nyarn typecheck\n\n# run tests\nyarn test\n\n# run a single test file\nyarn test ./src/__tests__/utils.test.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdothtml%2Fminimal-node-ts-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisdothtml%2Fminimal-node-ts-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdothtml%2Fminimal-node-ts-starter/lists"}