{"id":37984619,"url":"https://github.com/jgunnink/typescript-cloud-function-template","last_synced_at":"2026-01-16T18:38:06.644Z","repository":{"id":42481477,"uuid":"461914327","full_name":"jgunnink/typescript-cloud-function-template","owner":"jgunnink","description":"A template for building and deploying functions in Typescript on Google Cloud with tests","archived":false,"fork":false,"pushed_at":"2026-01-01T13:48:13.000Z","size":1271,"stargazers_count":11,"open_issues_count":7,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-06T01:27:47.239Z","etag":null,"topics":["cloud-function","google-cloud","serverless","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jgunnink.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-21T15:13:06.000Z","updated_at":"2025-11-18T05:56:53.000Z","dependencies_parsed_at":"2023-12-01T05:29:29.673Z","dependency_job_id":"a0bf12da-3dc7-416b-a27b-ea947efed06e","html_url":"https://github.com/jgunnink/typescript-cloud-function-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/jgunnink/typescript-cloud-function-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgunnink%2Ftypescript-cloud-function-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgunnink%2Ftypescript-cloud-function-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgunnink%2Ftypescript-cloud-function-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgunnink%2Ftypescript-cloud-function-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgunnink","download_url":"https://codeload.github.com/jgunnink/typescript-cloud-function-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgunnink%2Ftypescript-cloud-function-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["cloud-function","google-cloud","serverless","typescript"],"created_at":"2026-01-16T18:38:06.545Z","updated_at":"2026-01-16T18:38:06.626Z","avatar_url":"https://github.com/jgunnink.png","language":"TypeScript","readme":"# Cloud Functions Typescript Template\n\nThis repo is to help get building faster with typescript on Google\n[Cloud Functions](https://cloud.google.com/functions).\n\nIt includes:\n\n- Pre built tests using mocha and chai to get started easily.\n- Hosting the function locally on port 8080.\n- Cloudbuild yaml file for easy integration to continuous delivery if required.\n- Github Actions for testing and branch status checks on PR merges.\n\nRequires Node v20 or higher.\n\n## Usage\n\n### Local hosting\n\n`npm start` will kick up the server and host your code on port 8080.\n\nYou can then run something like:\n\n```bash\ncurl -X POST -H \"Content-Type: application/json\" \\\n    -d '{\"message\": \"Hello my friend\"}' \\\n    http://localhost:8080\n```\n\nTo see how your function would respond once deployed.\n\n### Testing\n\n`npm test` will run all tests in the /tests folder.\n\n## Deployment\n\nYou can run `npm run deploy` to deploy the current latest version. You should be authenticated with the gcloud CLI to do this.\n\nYou can also run `npm run deploy20` to deploy node version 20 if you prefer.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgunnink%2Ftypescript-cloud-function-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgunnink%2Ftypescript-cloud-function-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgunnink%2Ftypescript-cloud-function-template/lists"}