{"id":22514704,"url":"https://github.com/jdizm/vite-node-ts-starter","last_synced_at":"2026-05-16T18:32:48.295Z","repository":{"id":191834407,"uuid":"647886659","full_name":"JDIZM/vite-node-ts-starter","owner":"JDIZM","description":"a starter repo for vite-node with ts for building a node based script, cli tool or library","archived":false,"fork":false,"pushed_at":"2024-01-28T06:13:32.000Z","size":241,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-06T13:48:50.758Z","etag":null,"topics":["backend","esbuild","node","starter","ts","vite-node"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/JDIZM.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":"2023-05-31T18:30:25.000Z","updated_at":"2023-11-22T11:33:16.000Z","dependencies_parsed_at":"2024-01-02T08:22:45.082Z","dependency_job_id":"199ee50c-54fc-4304-bcb7-24a958b1ed56","html_url":"https://github.com/JDIZM/vite-node-ts-starter","commit_stats":null,"previous_names":["jdizm/vite-node-ts-starter"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/JDIZM/vite-node-ts-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fvite-node-ts-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fvite-node-ts-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fvite-node-ts-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fvite-node-ts-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JDIZM","download_url":"https://codeload.github.com/JDIZM/vite-node-ts-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JDIZM%2Fvite-node-ts-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33114199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["backend","esbuild","node","starter","ts","vite-node"],"created_at":"2024-12-07T03:20:31.164Z","updated_at":"2026-05-16T18:32:48.281Z","avatar_url":"https://github.com/JDIZM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vite-node-ts-starter\n\n- [vite-node](https://github.com/vitest-dev/vitest/tree/main/packages/vite-node)\n- [esbuild](https://esbuild.github.io/)\n- [eslint](https://eslint.org/)\n- [prettier](https://prettier.io/)\n- [typescript](https://www.typescriptlang.org/)\n- [vitest](https://vitest.dev/)\n\nA few things to understand\n\n1. building with esbuild\n2. building with the typescript compiler\n\nImporting the package.json makes the tsc compiler bundle the /src folder into the /dist folder. To keep these two build options working together esbuild is configured to nest the output in /src folder too.\n\nHave a play around with the configuration and build options to suit the project.\n\nThis is a work in progress template and welcome to feedback.\n\n## Requirements\n\nThis project requires node.js to be installed. This project uses volta to manage node versions.\n\nTo install volta run the following command in the terminal.\n\n```\ncurl https://get.volta.sh | bash\n```\n\n### ESM Node\n\nhttps://www.typescriptlang.org/docs/handbook/esm-node.html\n\n### Install\n\nBuild and install the package globally so you have access in your cli terminal.\n\n1. build `npm run build:esm`\n2. install `npm install -g .`\n\nThen test the package is working and installed by calling the package name `pkg-name` in your terminal.\n\n`which pkg-name` should return the path to the package.\n\ncalling `pkg-name` should return the following output.\n\n```\nversion 1.0.0\ntest 1234\nHello world! [ 'foo', 'bar' ]\n```\n\n### Testing\n\nThis project uses [vitest](https://vitest.dev/) for testing.\n\n1. run the unit tests with `npm run test`\n\nIt's also recommended to install the [vitest extension for vscode](https://marketplace.visualstudio.com/items?itemName=ZixuanChen.vitest-explorer).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdizm%2Fvite-node-ts-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdizm%2Fvite-node-ts-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdizm%2Fvite-node-ts-starter/lists"}