{"id":19640286,"url":"https://github.com/rencire/ts-lib-starter","last_synced_at":"2026-04-09T02:31:02.479Z","repository":{"id":30194872,"uuid":"126111097","full_name":"rencire/ts-lib-starter","owner":"rencire","description":"Starter project structure for typescript projects","archived":false,"fork":false,"pushed_at":"2023-01-03T15:15:59.000Z","size":512,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T16:06:57.398Z","etag":null,"topics":["husky","jest","library","lint-staged","nix","prettier","starter","ts-jest","tslint","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rencire.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":"2018-03-21T02:23:47.000Z","updated_at":"2020-07-30T12:50:50.000Z","dependencies_parsed_at":"2023-01-14T16:45:25.345Z","dependency_job_id":null,"html_url":"https://github.com/rencire/ts-lib-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rencire/ts-lib-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Fts-lib-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Fts-lib-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Fts-lib-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Fts-lib-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rencire","download_url":"https://codeload.github.com/rencire/ts-lib-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Fts-lib-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["husky","jest","library","lint-staged","nix","prettier","starter","ts-jest","tslint","typescript"],"created_at":"2024-11-11T14:05:16.672Z","updated_at":"2026-04-09T02:31:02.458Z","avatar_url":"https://github.com/rencire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typescript lib starter\n\nAn opinionated typescript starter project with focus on packaging modern code for ES modules on Browser and NodeJS runtimes.\n\n- Transpiles Typescript source to ES2018 files.\n- Specifyes `type: \"module\"` in `package.json` to assume all `.js` files are using ES modules.\n  - Can still write `commonjs` files via `.cjs` file extension.\n  - See [docs](https://nodejs.org/docs/latest-v12.x/api/esm.html#esm_code_package_json_code_code_type_code_field) for more info.\n- Output a type declaration file to `lib/main.d.ts`.\n\n\n## Prerequisites\n\n- Git\n- Nixos/Nix (w/ or w/o direnv) OR nvm OR nodjs installed on system.\n\n```\ngit clone https://github.com/rencire/ts-lib-starter \u003cyour_project_name\u003e\ncd \u003cyour_project_name\u003e\nrm -rf .git\n```\n\nChoose one of the following:\n\n### Nixos/Nix + Direnv (preferred):\n\nIf you're using [nix](https://nixos.org/nix/), and have [direnv](https://direnv.net/) installed (e.g. `nix-env -i direnv`), simply\ncd` into this repo and the correct nodejs version will be installed.\n\n### Nixos/Nix\n\nSimply run:\n\n```\nnix-shell\n```\n\n### NVM\n\nIf you have [nvm](https://github.com/nvm-sh/nvm), a `.nvmrc` file is provided.\n\n\n# Notes\n\n## TODO\n\n- [ ] migrate scripts outside of package.json\n\n  - simple bash scripts?\n  - consider going old school and use `makefile` for more complicated build workflows: http://www.olioapps.com/blog/the-lost-art-of-the-makefile/\n    - If need more integration w/ js ecosystem, consider [jakefile](https://github.com/jakejs/jake)\n\n- [] add semantic release:\n  - https://github.com/semantic-release/semantic-release\n\n## Tools\n\n- https://github.com/Microsoft/TypeScript\n- https://github.com/palantir/tslint\n- https://github.com/prettier/prettier\n- https://github.com/okonet/lint-staged\n- https://github.com/typicode/husky\n- https://github.com/kulshekhar/ts-jest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frencire%2Fts-lib-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frencire%2Fts-lib-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frencire%2Fts-lib-starter/lists"}