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

enever

v0.3.1

Published

Secure environment variable management for your projects

Downloads

432

Readme

enever

Protect your secrets from AI coding assistants.

AI tools like Claude Code, Cursor, and Copilot automatically read your .env files, exposing API keys and passwords to their context. enever forces AI to use masked values instead.

npm install -g enever

How It Works

enever read
# DATABASE_URL:
#   .env:            ****host/dev
#   .env.production: ****host/prod
# API_KEY:
#   .env:            ****t123
#   .env.production: ****t456

All values are masked by default. AI sees ****t123, not your actual secrets.

Commands

| Command | Description | |---------|-------------| | enever read | Read all variables (masked) | | enever read KEY | Read specific variable | | enever read ./path | Read from another directory | | enever read -u KEY | Unmask a specific key | | enever read --json | JSON output | | enever write KEY=value | Write to .env.local | | enever write -f .env.prod KEY=val | Write to specific file | | enever write --force KEY=val | Overwrite existing keys | | enever delete KEY | Delete from .env.local | | enever delete -f .env.prod KEY | Delete from specific file | | enever diff .env .env.prod | Compare two files | | enever list | List keys only (no values) |

Options

| Flag | Description | |------|-------------| | -u, --unmask <key> | Show raw value of a key | | -f, --file <path> | Target file for write/delete (default: .env.local) | | --force | Overwrite existing keys (write command) | | --json | Output in JSON format | | -q, --quiet | Suppress non-essential output | | -h, --help | Show help | | -v, --version | Show version |

Exit Codes

| Code | Meaning | |------|---------| | 0 | Success | | 1 | General error | | 2 | Key not found | | 3 | Key exists (write without --force) |

Setup for AI Protection

1. Agent Skill

Create .skills/env-management/SKILL.md:

---
name: env-management
description: |
  Safely access environment variables. Use when checking env vars,
  API keys, database URLs, or any .env file contents.
  ALWAYS use enever CLI instead of reading .env files directly.
allowed-tools: Bash(enever:*)
---

# Environment Variable Management

Use `enever` for all .env operations. Values are masked by default.

## Commands

- `enever list` - List all keys (no values)
- `enever read` - Read all variables (masked)
- `enever read KEY` - Read specific variable
- `enever read -u KEY` - Read unmasked value
- `enever read ./path` - Read from another directory
- `enever write KEY=value` - Write to .env.local
- `enever write -f FILE KEY=value` - Write to specific file
- `enever write --force KEY=value` - Overwrite existing keys
- `enever delete KEY` - Delete from .env.local
- `enever delete -f FILE KEY` - Delete from specific file
- `enever diff .env .env.prod` - Compare two files

## Options

- `-u, --unmask KEY` - Show raw value
- `-f, --file PATH` - Target file for write/delete
- `--force` - Overwrite existing keys
- `--json` - JSON output
- `-q, --quiet` - Suppress output

## Rules

1. NEVER read .env files directly
2. NEVER use cat/grep/head on .env files
3. ALWAYS use enever commands

2. AGENTS.md

Create AGENTS.md in project root:

# AI Agent Guidelines

## Environment Variables

Use `enever` CLI for all .env operations. Do not read .env files directly.

### Commands

- `enever list` - see available keys
- `enever read` - see masked values
- `enever read KEY` - read specific key
- `enever write KEY=value` - write to .env.local
- `enever write -f .env.prod KEY=value` - write to specific file
- `enever delete KEY` - delete from .env.local
- `enever diff .env .env.prod` - compare files

### Rules

1. NEVER read .env files directly with cat/grep/head
2. ALWAYS use enever commands for env operations
3. Values are masked by default for security

3. Block Direct Access (Claude Code)

Create .claude/settings.json:

{
  "permissions": {
    "deny": [
      "Read(.env)", "Read(.env.*)", "Read(**/.env)", "Read(**/.env.*)",
      "Bash(cat:*.env*)", "Bash(grep:*.env*)"
    ],
    "allow": ["Bash(enever:*)"]
  }
}

Why This Works

  • Agent Skills - Open standard supported by Claude, Cursor, Copilot, Codex, and 25+ AI tools
  • AGENTS.md - Universal instructions read by all major AI assistants
  • Permission blocks - Hard blocks prevent direct .env access

Installation

# npm
npm install -g enever

# or use directly
npx enever read

Pre-built binaries available on GitHub Releases.

License

MIT