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

@mcborov01/securevault

v1.2.1

Published

Secure secret manager with OS keychain integration - runs locally on your machine

Readme

SecureVault

npm version License: MIT

A secure, local secret manager that stores sensitive information in your operating system's native keychain. Features a modern web UI and a powerful CLI for injecting secrets into any command as environment variables.

Why SecureVault?

  • No more .env files — Secrets live in your OS keychain, not in plain text
  • Zero cloud dependency — Everything stays on your machine
  • Environment injection — Run any command with secrets injected as env vars
  • Beautiful UI — Dark-themed React frontend with search, categories, and copy-to-clipboard

Quick Start

npm install -g @mcborov01/securevault
securevault

Opens at http://localhost:5000.

CLI

securevault                    # Start the web UI + API server
securevault run <cmd> --profile <name>  # Run command with secrets as env vars
securevault list               # List all stored secrets
securevault profiles           # List all environment profiles
securevault health             # Check if the backend is running
securevault --help             # Show help
securevault --version          # Show version

Environment Profiles

Create profiles in the web UI to map secrets to environment variables:

  1. Open the web UI and go to Profiles
  2. Create a profile (e.g., "dev") and map secrets to env var names
  3. Run any command with that profile:
securevault run node server.js --profile dev
securevault run docker compose up --profile production
securevault run terraform apply --profile aws

SecureVault fetches secret values from the OS keychain at runtime and injects them as environment variables. The child process stdout/stderr is piped through, and exit codes are forwarded.

Features

  • Secure Storage — OS keychain (Keychain on macOS, Credential Vault on Windows, Secret Service API on Linux)
  • Modern UI — React + Tailwind CSS with Framer Motion animations
  • Categories — Password, API Key, Token, Certificate, Note, Other
  • Search & Filter — Find secrets by name or category
  • Zero-Trust API — Secret values are never returned in list endpoints; fetched individually on explicit request
  • Copy to Clipboard — One-click copy with visual feedback
  • Single Package — No Docker, no external services

Security Model

  • Secret values stored in OS keychain via keytar
  • GET /api/secrets returns metadata only — values are never included
  • Values fetched individually via GET /api/secrets/:id/value only when explicitly requested
  • Backend listens on localhost:3001 only (not exposed to network)
  • CORS restricted to localhost frontend origins
  • Request body size limited
  • No external data transmission
  • Fallback to in-memory storage when keychain is unavailable

API Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | GET | /api/secrets | List all secrets (metadata only, no values) | | GET | /api/secrets/:id/value | Get a single secret's value | | POST | /api/secrets | Create a new secret | | PUT | /api/secrets/:id | Update a secret | | DELETE | /api/secrets/:id | Delete a secret | | GET | /api/profiles | List all profiles | | POST | /api/profiles | Create/update a profile | | DELETE | /api/profiles/:id | Delete a profile | | GET | /api/health | Health check |

System Requirements

  • Node.js 20.0.0+ and npm 10.0.0+
  • Linux: requires libsecret-1-dev (sudo apt install libsecret-1-dev)
  • macOS / Windows: no additional setup needed

Upgrading

npm install -g @mcborov01/securevault@latest

Your secrets are safe across upgrades:

  • Secret values persist in your OS keychain (independent of the app)
  • Metadata persists in your user directory:
    • Windows: %LOCALAPPDATA%\SecureVault\metadata.json
    • macOS: ~/Library/Application Support/SecureVault/metadata.json
    • Linux: $XDG_CONFIG_HOME/securevault/metadata.json

Development

git clone https://github.com/andriyshevchenko/SecureVault.git
cd SecureVault
npm install
npm run dev        # Start dev server with hot reload
npm run build      # Production build
npm test           # Run unit tests
npm run test:e2e   # Run end-to-end tests
npm run lint       # Lint code

Uninstalling

npm uninstall -g @mcborov01/securevault

Secrets remain in your OS keychain. To remove them, use your OS credential manager.

License

MIT


Version: 1.2.0 | Author: andriyshevchenko | Repository: github.com/andriyshevchenko/SecureVault