npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-prewave-vertex-ai

v0.1.0

Published

n8n community node for Google Vertex AI: Gemini and Anthropic Claude through a stored Google service account.

Downloads

130

Readme

n8n-nodes-prewave-vertex-ai

An n8n community node that calls Google Gemini and Anthropic Claude models through Google Cloud Vertex AI, authenticated by a Google service-account key. One credential, both model families, no separate Gemini or Anthropic API keys.

Nodes

  • Prewave Vertex (action node): Chat / Generate, Embeddings, and Image (Imagen).
    • Google (Gemini): Google Search grounding, code execution, URL context, function calling, structured output, multimodal input, thinking, streaming.
    • Anthropic (Claude): Messages format on Vertex (:rawPredict), reasoning effort tiers, adaptive thinking, tool use, streaming.
  • Prewave Vertex Chat Model (sub-node): a chat model for the AI Agent node, with a Provider toggle for Gemini or Claude.
  • Prewave Vertex Service Accounts (credential): stores the service-account JSON key. It is encrypted at rest by n8n and write-only in the UI, so workflow builders can use it without reading it back.

Installation

In n8n (Cloud or self-hosted): Settings → Community nodes → Install, then enter:

n8n-nodes-prewave-vertex-ai

Authentication

  1. In Google Cloud, enable the Vertex AI API on your project.
  2. Create a service account with Vertex AI access (for example the roles/aiplatform.user role) and download a JSON key.
  3. In n8n, create a Prewave Vertex Service Accounts credential and paste the full JSON key. Optionally set a Project ID (defaults to the key's project) and a Location (defaults to global).

At call time the node uses google-auth-library to mint an OAuth access token scoped to cloud-platform. Tokens are cached in memory and refreshed before expiry, so calls keep working past the one-hour token lifetime with no manual action. The same token serves Gemini, Claude, embeddings, and Imagen. The service-account key is passed to the auth library directly; it is never written to disk or to an environment variable.

Model selection

The Model field is a resource locator with two modes:

  • From List: pulls the live Vertex publisher model list at edit time, filtered by the selected provider, so newly published models appear automatically.
  • By ID: free text, so any exact Vertex model id works (gemini-2.5-pro, claude-opus-4-8, a dated id, etc.).

A small curated list is used as an offline fallback when the live listing is unavailable.

Notes

  • Claude on Vertex is regional. Enable the Claude models you need in Vertex Model Garden and set the credential Location to a region that serves them (for example europe-west1 or us-east5). The model listing works at global, but Claude inference may require a regional location.
  • Imagen ids are entered by ID or chosen from the curated list; Vertex does not list imagen-* models at the global endpoint.

Local development

npm install
npm run build      # tsc + copy assets (icon, codex json) into dist/
npm run lint

License

MIT