{"id":14965905,"url":"https://github.com/koji/node-typescript-boilerplate","last_synced_at":"2026-01-12T05:45:32.614Z","repository":{"id":40434064,"uuid":"291092715","full_name":"koji/node-typescript-boilerplate","owner":"koji","description":"boilerplate for nodejs with typescript","archived":false,"fork":false,"pushed_at":"2024-01-23T15:03:52.000Z","size":247,"stargazers_count":17,"open_issues_count":2,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-03T09:27:18.632Z","etag":null,"topics":["boilerplate","eslint","nodejs","prettier","typescript","yarn"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/koji.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":"2020-08-28T16:20:14.000Z","updated_at":"2024-01-07T23:13:29.000Z","dependencies_parsed_at":"2023-12-09T06:23:12.200Z","dependency_job_id":"664eff61-570a-41cb-bcf3-2da9109e5642","html_url":"https://github.com/koji/node-typescript-boilerplate","commit_stats":{"total_commits":27,"total_committers":5,"mean_commits":5.4,"dds":0.5925925925925926,"last_synced_commit":"f8d5a63e0d6e7a3113cdad037c60bc5da356b39d"},"previous_names":["koji/typescript-node-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/koji/node-typescript-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fnode-typescript-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fnode-typescript-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fnode-typescript-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fnode-typescript-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koji","download_url":"https://codeload.github.com/koji/node-typescript-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fnode-typescript-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["boilerplate","eslint","nodejs","prettier","typescript","yarn"],"created_at":"2024-09-24T13:35:32.880Z","updated_at":"2026-01-12T05:45:32.600Z","avatar_url":"https://github.com/koji.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typescript-node-boilerplate\n\nThis is a boilerplate for nodejs project with typescript.  \nThe followings are details of this boilerplate.\n\nblog post for this\n\n## npm-script\n\nThe commands are ordered alphabetically.\n\n#### `yarn clean`\n\nThis command will clean up dist folder that is for build files(.js files)\n\n```zsh\n\"clean\": \"rimraf dist/*\",\n```\n\n#### `yarn dev:watch`\n\nThis commands allows run index.ts file without compile and monitor the changes on the file\n\n```zsh\n\"dev:watch\": \"ts-node-dev --respwn src/index.ts\",\n```\n\n#### `yarn dev`\n\nThis commands allows run index.ts file without compile\n\n```zsh\n\"dev\": \"ts-node src/index.ts\",\n```\n\n#### `yarn format`\n\nThis commands will format all files with the rules that are based on `.eslintrc.js`\n\n```zsh\n\"format\": \"prettier --write 'src/**/*.{js,ts,json}'\",\n```\n\n#### `yarn lint:all`\n\nThis command will lint all ts files and run `tsc` without generating any .js files\n\n```zsh\n\"lint:all\": \"yarn lint \u0026\u0026 yarn tscCheck\",\n```\n\n#### `yarn lint:fix`\n\nThis command runs `lint` and modify codes to fix lint errors.\n\n```zsh\n\"lint:fx\": \"eslint src/**/*.ts --fix\",\n```\n\n#### `yarn lint`\n\nThis command check all ts files with the rules that are based on `.eslintrc.js`\n\n```zsh\n\"lint\": \"eslint src/**/*.ts\",\n```\n\n#### `yarn start`\n\nThis command compiles ts files and run build file which is `dist/index.js`\n\n```zsh\n\"start\": \"tsc \u0026\u0026 node dist/index.js\",\n```\n\n#### `yarn tsc`\n\nThis compands ts files\n\n```zsh\n\"tsc\": \"tsc\",\n```\n\n#### `yarn tscCheck`\n\nThis command shows tsc compile errors if there are any issues.\n\n```zsh\n\"tscCheck\": \"tsc --noEmit\"\n```\n\n## Machine info I used to set up this\n\nHere is my environmental information. Basically, this repo is using `yarn` as a package manager.\n\n```zsh\n$ node -v\nv18.13.0\n\n$ npm -v\n8.19.3\n\n$ yarn -v\n1.22.19\n\n$ pnpm -v\n8.1.1\n\n$ uname -a\nDarwin WS-FVFGW0FRQ05N 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:35 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T8103 arm64\n\n$ sw_vers\nProductName:\tmacOS\nProductVersion:\t11.0\nBuildVersion:\t20A5354i\n```\n\n## TypeScript version\n\n```zsh\n$ npx tsc -V\nVersion 5.0.3\n```\n\n## ESLint + Prettier\n\n```zsh\n$ ./node_modules/.bin/eslint --version\nv8.37.0\n\n$ ./node_modules/.bin/prettier --version\n2.8.7\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoji%2Fnode-typescript-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoji%2Fnode-typescript-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoji%2Fnode-typescript-boilerplate/lists"}