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

evoconfig-sdk

v1.0.0

Published

Enterprise-grade Secure Remote Configuration & Feature Flag SDK

Readme

EvoConfig SDK (Node.js)

Enterprise Grade Security: AES-256-GCM Security: HMAC-SHA256

EvoConfig is a secure-by-default, production-ready SDK for remote configuration and feature flagging. It is designed for high-compliance environments where security and observability are non-negotiable.

Key Features

  • Zero-Plaintext Rule: Configuration values are NEVER stored in plaintext on disk. They are decrypted only in memory.
  • End-to-End Encryption: AES-256-GCM encryption ensures data remains private from the EvoConfig server to your application.
  • Request Integrity: Every request is signed using HMAC-SHA256 with a timestamp and nonce to prevent replay attacks.
  • Deterministic Rollouts: Feature flags support percentage rollouts with stable hashing based on user/tenant context.
  • Observability First: Built-in hooks for OpenTelemetry integration and custom monitoring.

Installation

npm install evoconfig-sdk

Usage Modes

1. Remote Mode (Default)

Fetches and updates config from the EvoConfig API. Best for dynamic environments.

const config = new EvoConfig({
  appId: "APP_ID",
  apiKey: "API_KEY",
  encryptionKey: "ENCRYPTION_KEY"
});

2. API-less Mode (Local-first)

Perfect for high-performance edge functions. Provide an encrypted object directly.

const config = new EvoConfig({
  encryptionKey: "ENCRYPTION_KEY",
  localConfig: { config: { ... }, flags: { ... } }
});

3. Standalone Mode (Pure Offline)

Total network isolation. Reads from an encrypted local file.

const config = new EvoConfig({
  encryptionKey: "ENCRYPTION_KEY",
  configPath: "./configs.json"
});

Security Architecture

1. Request Signing

All outgoing requests are signed: Signature = HMAC-SHA256(Secret, Timestamp + Nonce + Payload) The server validates the signature and ensures the timestamp is within a 5-minute window to prevent replay attacks.

2. Data Decryption

Config values are stored as encrypted blobs:

{
  "ciphertext": "...",
  "iv": "...",
  "authTag": "..."
}

The SDK decrypts these using the encryptionKey provided at initialization. This key never leaves your application environment.

3. In-Memory Caching

Values are cached in-memory with a configurable TTL (default 5 mins). No decrypted values are ever written to the file system.

Observability (Hooks)

Integrate with Datadog, New Relic, or Prometheus:

const config = new EvoConfig({
  // ...
  hooks: {
    onCacheHit: (key) => metrics.increment("config.cache.hit", { key }),
    onError: (err) => logger.error(`EvoConfig Error: ${err.message}`),
    onFlagEval: (name, result) => metrics.gauge("feature_flag", result ? 1 : 0, { name })
  }
});

Error Handling

The SDK uses typed errors for precise handling:

try {
  await config.get("SECRET_KEY");
} catch (error) {
  if (error instanceof AuthenticationError) {
    // Check your API keys
  } else if (error instanceof CryptoError) {
    // Check your encryptionKey
  }
}

Built by the Daksha Dubey.