gas-fakes-dev

Map Google Apps Script behavior to a local Node.js runtime for testing.

78|17|Updated Feb 12, 2025
One-click install
npx skills add https://github.com/brucemcpherson/gas-fakes --skill gas-fakes-dev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gas-fakes-dev
Source: https://github.com/brucemcpherson/gas-fakes/tree/main/.agents/skills/gas-fakes-dev
Command: npx skills add https://github.com/brucemcpherson/gas-fakes --skill gas-fakes-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers can run Apps Script projects locally, bypassing the need for live GAS execution and enabling faster iteration.

Core Features & Use Cases

  • Local execution of GAS-like code in a Node.js environment via an emulation layer.
  • Deterministic testing with mock Google APIs and services.
  • Workflow guidance for mapping GAS behavior to Node.js, with sample tests in test/.

Quick Start

Install and run gas-fakes to emulate Google Apps Script behavior locally in Node.js.

Frequently Asked Questions about gas-fakes-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Google Apps Script locally for testing?▼

Run Google Apps Script locally by mapping GAS behavior to a Node.js runtime using an emulation layer, enabling offline execution and faster iteration without live GAS deployment.

Can I test Google Apps Script code in Node.js with mock APIs?▼

Test Google Apps Script code in Node.js by mapping GAS behavior to a local runtime and integrating with mock Google APIs to achieve deterministic offline testing results.

What is the best way to set up local development for Google Apps Script?▼

Set up local GAS development using a Node.js emulation layer that defines project structure cues, implementation patterns, and testing workflows for offline execution.

Does Google Apps Script local development require live execution?▼

Local Google Apps Script development bypasses the need for live GAS execution by emulating its behavior in a Node.js environment, allowing developers to run projects and iterate faster.

How do I structure a Node.js project to emulate Google Apps Script?▼

Structure your Node.js project to emulate Google Apps Script by organizing directories with dedicated source code and test folders, following defined implementation patterns and workflow guidance.