feature-flags-nodejs

Official

Enable Node.js feature flags with PostHog

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PostHog feature flags integration for Node.js apps, enabling safe, dynamic feature control and observability with PostHog flags.

Core Features & Use Cases

  • Evaluate boolean feature flags via isFeatureEnabled and optional payloads.
  • Retrieve and apply multivariate flags with getFeatureFlag and payloads.
  • Enrich events with feature flag data using sendFeatureFlags and payloads.
  • Override evaluation context with person or group properties for accurate flag outcomes.
  • Works across server-side Node.js backends and services to coordinate feature rollouts.

Quick Start

Install the Node.js library, initialize the client, and check a flag to control flow.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: feature-flags-nodejs
Download link: https://github.com/PostHog/skills/archive/main.zip#feature-flags-nodejs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.