{"id":28770996,"url":"https://github.com/thedumbterminal/bigquery-js-udf-example","last_synced_at":"2026-05-18T11:05:45.203Z","repository":{"id":40279868,"uuid":"351503513","full_name":"thedumbterminal/bigquery-js-udf-example","owner":"thedumbterminal","description":"Example of Javascript UDFs for use with Google BigQuery","archived":false,"fork":false,"pushed_at":"2023-01-07T06:16:57.000Z","size":640,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-17T13:08:58.823Z","etag":null,"topics":["bigquery","google","javascript"],"latest_commit_sha":null,"homepage":"https://www.thedumbterminal.co.uk/posts/2021/03/deploying_javascript_functions_on_google_big_query.html","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/thedumbterminal.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}},"created_at":"2021-03-25T16:27:48.000Z","updated_at":"2022-08-24T21:38:36.000Z","dependencies_parsed_at":"2023-02-06T13:46:31.650Z","dependency_job_id":null,"html_url":"https://github.com/thedumbterminal/bigquery-js-udf-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thedumbterminal/bigquery-js-udf-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbterminal%2Fbigquery-js-udf-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbterminal%2Fbigquery-js-udf-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbterminal%2Fbigquery-js-udf-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbterminal%2Fbigquery-js-udf-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedumbterminal","download_url":"https://codeload.github.com/thedumbterminal/bigquery-js-udf-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbterminal%2Fbigquery-js-udf-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260517074,"owners_count":23020983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bigquery","google","javascript"],"created_at":"2025-06-17T13:08:58.629Z","updated_at":"2026-05-18T11:05:40.165Z","avatar_url":"https://github.com/thedumbterminal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google BigQuery Javascript UDF Function Examples\n\n[![Node.js CI](https://github.com/thedumbterminal/bigquery-js-udf-example/actions/workflows/node.js.yml/badge.svg)](https://github.com/thedumbterminal/bigquery-js-udf-example/actions/workflows/node.js.yml)\n\nExamples of how to create, test and deploy Google BigQuery user defined functions (UDFs) written in Javascript.\n\nFor more information please see the accompanying blog post:\n\n[Deploying Javascript functions on Google Big Query](https://www.thedumbterminal.co.uk/posts/2021/03/deploying_javascript_functions_on_google_big_query.html)\n\n## Install\n\n```\nnvm use\nnpm install\n```\n\n## Testing\n\nTo run unit tests:\n\n```\nnpm test\n```\n\nTo run the distribution asset tests:\n\n```\nnpm run build\nnpm run test:dist\n````\n\nTo run the bigquery tests:\n\n*This requires your terminal to be authenticated with the GCloud SDK*\n\n```\nexport DEST_BUCKET=your_bucket_name\nnpm run build\nnpm run deploy\nnpm run test:bigquery\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedumbterminal%2Fbigquery-js-udf-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedumbterminal%2Fbigquery-js-udf-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedumbterminal%2Fbigquery-js-udf-example/lists"}