{"library":"gas-client","type":"library","category":null,"description":"gas-client is a client-side utility library designed for Google Apps Script projects, providing a modern, promise-based interface for calling server-side Apps Script functions. It acts as a user-friendly wrapper around the native `google.script.run` API, abstracting away callback-based error and success handling in favor of standard JavaScript Promises and async/await syntax. The current stable version is 1.2.1, with minor releases and patches occurring as needed to address compatibility and improvements. A key differentiator is its ability to provide consistent access to `google.script.host` functions (like `close()` or `setHeight()`) in both production Apps Script environments and local development setups. It is specifically designed to integrate seamlessly with local development servers, such as those used in React Google Apps Script projects, by allowing explicit configuration of allowed development domains. This enables a more streamlined and conventional client-side development workflow for Apps Script.","language":"javascript","status":"active","version":"1.2.1","tags":["javascript","Google","Apps","Script","GAS","Client","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gas-client","imports":["import { GASClient } from 'gas-client';","const { serverFunctions } = new GASClient();","const { scriptHostFunctions } = new GASClient();"]},{"cmd":"yarn add gas-client","imports":[]},{"cmd":"pnpm add gas-client","imports":[]}],"homepage":null,"github":"https://github.com/enuchi/gas-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gas-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/gas-client/compatibility"}}