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

@walkeros/server-destination-gcp

v1.0.4

Published

Google Cloud Platform server destination for walkerOS (BigQuery)

Readme

GCP (BigQuery) Destination for walkerOS

Source CodeNPM Package

walkerOS follows a source → collector → destination architecture. This GCP destination receives processed events from the walkerOS collector and streams them to Google BigQuery, enabling real-time data warehousing and analytics with Google Cloud's powerful data processing and machine learning capabilities.

Installation

npm install @walkeros/server-destination-gcp

Quick Start

Configure in your Flow JSON:

{
  "version": 1,
  "flows": {
    "default": {
      "server": {},
      "destinations": {
        "bigquery": {
          "package": "@walkeros/server-destination-gcp",
          "config": {
            "settings": {
              "projectId": "YOUR_PROJECT_ID",
              "datasetId": "YOUR_DATASET_ID",
              "tableId": "YOUR_TABLE_ID"
            }
          }
        }
      }
    }
  }
}

Or programmatically:

import { startFlow } from '@walkeros/collector';
import { destinationBigQuery } from '@walkeros/server-destination-gcp';

const { elb } = await startFlow({
  destinations: [
    {
      destination: destinationBigQuery,
      config: {
        settings: {
          projectId: 'YOUR_PROJECT_ID',
          datasetId: 'YOUR_DATASET_ID',
          tableId: 'YOUR_TABLE_ID',
        },
      },
    },
  ],
});

Configuration

| Name | Type | Description | Required | Example | | ----------- | ----------------- | ------------------------------------------------ | -------- | ------------------------------------------ | | client | BigQuery | Google Cloud BigQuery client instance | Yes | new BigQuery({ projectId, keyFilename }) | | projectId | string | Google Cloud Project ID | Yes | 'my-gcp-project' | | datasetId | string | BigQuery dataset ID where events will be stored | Yes | 'walker_events' | | tableId | string | BigQuery table ID for event storage | Yes | 'events' | | location | string | Geographic location for the BigQuery dataset | No | 'US' | | bigquery | BigQueryOptions | Additional BigQuery client configuration options | No | { keyFilename: "path/to/key.json" } |

Table Schema

By default, the destination sends the full walkerOS event. Create the table with:

CREATE TABLE IF NOT EXISTS `YOUR_PROJECT.walkeros.events` (
  timestamp TIMESTAMP,
  createdAt TIMESTAMP,
  name STRING,
  id STRING,
  entity STRING,
  action STRING,
  trigger STRING,
  `group` STRING,
  timing FLOAT64,
  count INT64,
  data STRING,
  context STRING,
  globals STRING,
  custom STRING,
  user STRING,
  nested STRING,
  consent STRING,
  version STRING,
  source STRING
);

Object and array fields (data, context, globals, etc.) are JSON stringified. For custom schemas using the data mapping config, see the full documentation.

Type Definitions

See src/types/ for TypeScript interfaces.

Related

Contribute

Feel free to contribute by submitting an issue, starting a discussion, or getting in contact.

License

This project is licensed under the MIT License.