{"id":19208989,"url":"https://github.com/carsonslovoka/gas-lib","last_synced_at":"2025-07-04T14:38:42.447Z","repository":{"id":88480175,"uuid":"568703032","full_name":"CarsonSlovoka/gas-lib","owner":"CarsonSlovoka","description":"gas相關腳本, 目前集中於寫spreadsheet的函數","archived":false,"fork":false,"pushed_at":"2024-04-30T05:51:29.000Z","size":48,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T07:17:19.307Z","etag":null,"topics":["add-in","add-ons","chinese-translation","custom-functions","spreadsheets","taiwan","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/CarsonSlovoka.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":"2022-11-21T08:27:38.000Z","updated_at":"2022-11-22T10:43:38.000Z","dependencies_parsed_at":"2023-03-13T18:24:08.434Z","dependency_job_id":"595e07b9-85ba-4091-a9ad-8677b0c903d0","html_url":"https://github.com/CarsonSlovoka/gas-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CarsonSlovoka/gas-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarsonSlovoka%2Fgas-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarsonSlovoka%2Fgas-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarsonSlovoka%2Fgas-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarsonSlovoka%2Fgas-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarsonSlovoka","download_url":"https://codeload.github.com/CarsonSlovoka/gas-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarsonSlovoka%2Fgas-lib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263558225,"owners_count":23480132,"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":["add-in","add-ons","chinese-translation","custom-functions","spreadsheets","taiwan","typescript"],"created_at":"2024-11-09T13:28:40.076Z","updated_at":"2025-07-04T14:38:42.399Z","avatar_url":"https://github.com/CarsonSlovoka.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gas-lib\n\ngas相關腳本, 目前集中於寫spreadsheet的函數\n\n## Demo \u0026 Usage\n\n以下連結提供已經實作的相關函數使用方法\n\n\u003e https://docs.google.com/spreadsheets/d/1v7oqH6myGrI6yLpDxC3e7kkveZyEuQr4G8TdZQGQE-8/\n\n如果您想直接使用，可以直接複製該sheet，一樣也能在自己的sheet上使用那些函數\n\n其中背景顏色有用`黃色`標示的儲存格表示公式，觀看那些儲存格即可。\n\n## [分享腳本的方法](doc/share.md)\n\n## [Google Cloud](doc/googleCloud.md)\n\n## [spreadsheet](doc/sheets/README.md)\n\n## TS小技巧\n\n- 善用`//@ts-ignore`: GAS中很多函數是來自於google所定義，這時候就可以用import的方式來載入該變數；另一種解法是將變數宣告成any，例如`const Utilities: any`\n- 使用console.error來進行測試: 因為某些函數用到了google所定義的函數，所以一定要在gas才能測試，可以把要測試的函數都寫在一個函數之中，再呼叫該函數即可，其中把非預期的項目用console.error，如果有執行到該內容，在console視窗即可發現錯誤，就能知道測試不過。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarsonslovoka%2Fgas-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarsonslovoka%2Fgas-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarsonslovoka%2Fgas-lib/lists"}