New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@snapback/config

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snapback/config

Configuration defaults for SnapBack

latest
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

@snapback/config

Shared configuration schemas and defaults for SnapBack packages.

Installation

npm install @snapback/config

What's Included

  • Configuration schemas: Zod schemas for validation
  • Default configurations: Sensible defaults for all packages
  • Environment parsing: Type-safe environment variable loading

Quick Start

import { loadConfig } from "@snapback/config";

const config = await loadConfig({
  logLevel: process.env.LOG_LEVEL || "info",
});

API Reference

See documentation for complete API reference.

Development

pnpm build
pnpm test

License

MIT

FAQs

Package last updated on 06 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts