{"id":20599105,"url":"https://github.com/stevendborrelli/function-node","last_synced_at":"2026-05-26T20:32:00.765Z","repository":{"id":261714191,"uuid":"883308021","full_name":"stevendborrelli/function-node","owner":"stevendborrelli","description":"A Crossplane Function build with Nodejs and Typescript","archived":false,"fork":false,"pushed_at":"2024-11-08T01:40:30.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-08T08:50:46.316Z","etag":null,"topics":["crossplane","infrastructure-as-code"],"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/stevendborrelli.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":"2024-11-04T18:30:09.000Z","updated_at":"2025-02-22T20:23:41.000Z","dependencies_parsed_at":"2024-11-08T02:48:39.140Z","dependency_job_id":null,"html_url":"https://github.com/stevendborrelli/function-node","commit_stats":null,"previous_names":["stevendborrelli/function-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stevendborrelli/function-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevendborrelli%2Ffunction-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevendborrelli%2Ffunction-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevendborrelli%2Ffunction-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevendborrelli%2Ffunction-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevendborrelli","download_url":"https://codeload.github.com/stevendborrelli/function-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevendborrelli%2Ffunction-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33538659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"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":["crossplane","infrastructure-as-code"],"created_at":"2024-11-16T08:31:02.337Z","updated_at":"2026-05-26T20:32:00.748Z","avatar_url":"https://github.com/stevendborrelli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# function-sdk-node\n\nThis is an experimental Crossplane function written in Typescript.\n\n## Running the server\n\nFirst compile the server:\n\n```shell\ntsc\n```\n\nNext run the function locally:\n\n```shell\nnode main.js -d --insecure\n```\n\nIn another terminal run the example manifest:\n\n```shell\ncd examples/extra_resources\n./render.sh\n```\n\n## Files\n\n- [main.ts](main.ts): sets up the environment and runs the server\n- [runtime.ts](runtime.ts): sets up the gRPC server and TLS credentials\n- [function.ts](function.ts): implements the function logic\n- [request.ts](request.ts): fetch data from the request\n- [response.ts](response.ts): sets response fields\n\n## Components\n\n- [grpc-js](https://github.com/grpc/grpc-node)\n- [nice-grpc](https://github.com/deeplay-io/nice-grpc)\n\n## Debugging\n\nTo check if the endpoint is running:\n\n```shell\ngrpcurl -proto proto/v1/run_function.proto  -vv -plaintext  localhost:9443  \"apiextensions.fn.proto.v1.FunctionRunnerService/RunFunction\" \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevendborrelli%2Ffunction-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevendborrelli%2Ffunction-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevendborrelli%2Ffunction-node/lists"}