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

envland

v0.1.12

Published

CLI for syncing .env files with the Envland console

Readme

envland CLI

Sync .env files with envland.dev.

Install

npm install -g envland

Usage

envland login          # authenticate via browser
envland init           # connect or create a project (.envland.json; nested under parent config → sub-project)
envland pull [env]     # download secrets into the mapped local file (default: .env)
envland push [env]     # pick environment (↑↓, default pre-selected), then upload
envland diff [env]     # compare local vs remote
envland run [env] -- <cmd>   # run a command with secrets injected
envland open           # open project in the console

Per-environment local files

During init, you can map each remote environment to its own local file (e.g. development → .env.local, production → .env.prod). That mapping is stored in .envland.json:

{
  "defaultEnvironment": "development",
  "environments": { "development": "...", "production": "..." },
  "environmentFiles": {
    "development": ".env.local",
    "production": ".env.prod"
  }
}

Then:

envland pull development   # writes .env.local
envland push production    # reads .env.prod

Without environmentFiles, behavior stays as before: pull writes .env, and push/diff merge .env + .env.*.

At runtime, override with ENVLAND_API_URL / ENVLAND_CONSOLE_URL. Defaults are baked in at build time (see below).

Develop

From the monorepo root:

bun --filter envland build        # bundle for npm (dist/envland.js)
bun --filter envland build:binary # native binary (dist/envland)
node apps/cli/dist/envland.js help

Build-time URLs

bun run build bakes:

  • API: https://api.envland.dev
  • Console: https://console.envland.dev (used for login approve links and open)

For local dev:

bun run build:local   # API localhost:4001, console localhost:5173

Override for a one-off build:

ENVLAND_API_URL=https://api.envland.dev \
ENVLAND_CONSOLE_URL=https://console.envland.dev \
  bun run build:bundle

prepublishOnly runs build automatically on npm publish.

Publish (production)

Publishing a GitHub Release whose tag is cli-v* publishes to npm. Requires repo secret NPM_TOKEN (npm automation token with publish access to envland).

# 1. Commit your changes on main (bump apps/cli/package.json if you like — the release tag wins in CI)
# 2. Create and publish a GitHub Release with tag cli-v0.1.6
gh release create cli-v0.1.6 --title "CLI v0.1.6" --generate-notes --target main

Or publish an existing draft release in the GitHub UI. That runs .github/workflows/publish-cli.yml: builds with prod API/console URLs and publishes to npm.

Manual dispatch is also available under Actions → Publish CLI.

Manual publish (runtime deps are bundled — do not add workspace:* to dependencies):

cd apps/cli
bun run build
npm login
npm publish --access public --ignore-scripts