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

@nasimstg/xenvsync

v1.13.0

Published

Encrypt, commit, and inject .env secrets with AES-256-GCM. No cloud required.

Readme

xenvsync

Encrypt, commit, and inject .env secrets — no cloud required.

CI License

xenvsync encrypts your .env files into a .env.vault using AES-256-GCM so you can safely commit secrets to Git — while the decryption key never leaves your machine.

Install

npm install -g @nasimstg/xenvsync

Or run without installing:

npx @nasimstg/xenvsync

The npm package automatically downloads the correct prebuilt binary for your platform (Linux, macOS, Windows — x64 and arm64).

Quick Start

xenvsync init                    # generate key + update .gitignore
xenvsync push                    # encrypt .env → .env.vault
git add .env.vault && git commit # safe to commit

xenvsync pull                    # decrypt .env.vault → .env
xenvsync run -- npm start        # inject secrets into process (in-memory)

Commands

| Command | Description | |---------|-------------| | xenvsync init [--force] | Generate a 256-bit key, add it to .gitignore | | xenvsync push | Encrypt .env.env.vault | | xenvsync pull | Decrypt .env.vault.env | | xenvsync run -- <cmd> | Decrypt in-memory and inject into a child process | | xenvsync diff | Preview changes between .env and the vault | | xenvsync status | Show file presence, timestamps, and sync direction | | xenvsync envs | List all discovered environments and sync status | | xenvsync export | Decrypt vault and output as JSON, YAML, shell, tfvars, or dotenv | | xenvsync completion | Generate shell completions (bash/zsh/fish/powershell) |

Multi-Environment Support

xenvsync push --env staging     # .env.staging → .env.staging.vault
xenvsync pull --env production  # .env.production.vault → .env.production
xenvsync run --env staging -- npm start
xenvsync envs                   # list all discovered environments

Set XENVSYNC_ENV to avoid passing --env every time.

When pushing, variables are automatically merged from .env.shared (base) < .env.<name> (env) < .env.local (overrides). Use --no-fallback to disable.

Why xenvsync?

  • No cloud required — works 100% offline, key stays on your machine
  • Single binary — zero runtime dependencies
  • In-memory injectionxenvsync run never writes plaintext to disk
  • Standard crypto — AES-256-GCM with fresh nonce per encryption
  • Git-friendly — commit .env.vault, share the key out-of-band

Alternative Install Methods

# Go
go install github.com/nasimstg/xenvsync@latest

# Prebuilt binary
# https://github.com/nasimstg/xenvsync/releases

Documentation

Full documentation: xenvsync.softexforge.io

License

MIT