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

@lithigesh/remoteenv

v1.0.2

Published

EnvOps backend service for managing encrypted environment variables

Downloads

18

Readme

RemoteEnv

Simple key-value storage with support for multiple backends.

RemoteEnv is a centralized platform to manage, encrypt, and sync environment variables across services and environments through API, CLI, and dashboard workflows.

Build Bun Codecov npm

What is RemoteEnv?

RemoteEnv is a centralized environment variable manager for teams that want secure, runtime-delivered configuration instead of scattered local secret files.

It includes:

  • A NestJS + Prisma API for storing and managing environment variables
  • A dashboard UI for projects, environments, and variable operations
  • CLI tools (envops and env-service) for scripting and runtime injection

Why not .env files?

Traditional .env files are simple, but they become risky and hard to maintain at scale.

RemoteEnv helps by:

  • Keeping secrets in one controlled backend instead of many developer machines
  • Reducing accidental leaks in commits, backups, and local file sharing
  • Supporting runtime fetch and in-memory injection (no required plaintext secret file on disk)
  • Providing environment-level organization (dev, staging, production)

Installation

Install from npm:

npm install -g @lithigesh/remoteenv

Or use without global install:

npx @lithigesh/remoteenv --help

For local development from source:

npm install
npm run build

Quick Start

  1. Start PostgreSQL (Docker):
npm run db:up
  1. Generate Prisma client and migrate:
npm run prisma:generate
npm run prisma:migrate -- --name init
npm run prisma:seed
  1. Start backend API:
npm run start:dev
  1. (Optional) Start dashboard:
npm run ui:install
npm run ui:dev
  1. Use CLI:
envops --help
env-service setup
env-service run --project payments-service --env dev -- npm start

Dashboard screenshots

Dashboard Add Variable Bulk Import

Encryption architecture

RemoteEnv is designed for secure secret handling:

  • Environment values are stored as encrypted records
  • Access is API-mediated and token-authenticated
  • Runtime consumers request scoped variables for a specific project/environment
  • Optional client-side key registration paths are supported via CLI secure commands

High-level model:

  1. Secret is submitted to API
  2. Secret is encrypted before persistence
  3. Runtime client requests scoped env set
  4. API returns values for authorized identity and scope

Runtime sync flow

RemoteEnv supports a Doppler-style runtime flow with env-service run:

  1. Resolve API URL and access token
  2. Fetch environment data from GET /runtime/env?project=<name>&environment=<name>
  3. Inject variables into child process environment in memory
  4. Start target command with injected configuration

Example:

env-service run --project payments-service --env staging -- npm test

Multi-environment support

Each project can be managed across multiple environments:

  • dev
  • staging
  • production

This separation helps prevent configuration drift and reduces deployment mistakes by making environment scope explicit in both UI and CLI flows.

Security best practices

  • Use short-lived access tokens where possible
  • Limit project access by role/team responsibility
  • Rotate credentials and secrets regularly
  • Avoid printing secret values in logs
  • Keep production and non-production secrets strictly separated
  • Prefer runtime injection (env-service run) instead of writing secrets to local .env files
  • Run secret-scanning in CI to catch accidental exposures