Overview
A tour of the GasPackᵐ ecosystem — the CLI, the Exchange, the IDE extension, and how the pieces fit together.
The ecosystem
GasPackᵐ is four things that work together to make Google Apps Script feel like a modern language ecosystem.
gpm
A Node.js command-line tool you install once on your machine. It scaffolds projects, resolves dependencies, builds packages into Apps Script-compatible bundles, and publishes to the Exchange.
GasPackᵐ Exchange
The public registry at gaspackm.org. Where packages live, where you search and discover them, and where security scores and provenance attestations are surfaced.
Chrome extension
Adds GasPackᵐ to the Apps Script editor itself. Install packages, browse versions, and view security scores without leaving the editor — no terminal required.
Continuous scanning
Every publish runs through static analysis powered by Semgrep. Each package on the Exchange carries a security score with the findings laid out. Trust is verifiable, not asserted.
How the pieces fit
Two flows. They share infrastructure but they're driven by different people.
Publishing a package
Scaffold and write
Author runs gpm create on their machine. The CLI sets up a package with
modules, types, and a gpm.json manifest declaring scope, version, and
dependencies.
Publish
gpm publish verifies the publisher's domain, runs the Scanner against the
artifact, and uploads it to the Exchange. Publishes from CI carry a provenance attestation
tying the artifact to the source commit.
Listed and scored
The package appears on the Exchange with its security score, scopes it requests, and the list of modules it exposes.
Using a package
Discover
Browse the Exchange, or — if you're already inside the Apps Script editor — search through the Chrome extension. Review the security score and the scopes the package needs.
Install
Run gpm install <package> in your project, or click Install in
the Chrome extension. The CLI resolves versions and pulls module code into your project.
Import and ship
Modules are exposed as global namespaces inside your Apps Script project — call them
directly. gpm build produces the artifact you push to Apps Script with clasp or your existing deploy flow.
Install the CLI
Everything starts with the CLI. Install it once from npm and you have what you need to use packages or publish your own.
Requires Node.js 18 or later.
Where to go next
From here, the docs split by what you're doing.