TypeScript environment-variables

Open-source TypeScript projects categorized as environment-variables

Top 13 TypeScript environment-variable Projects

  • infisical

    ♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure and prevent secret leaks.

  • Project mention: IBM to Acquire HashiCorp, Inc | news.ycombinator.com | 2024-04-24

    You should look into Infisical: https://github.com/Infisical/infisical

    Disclaimer: I’m one of the founders.

  • dotenv-vault

    sync .env files—from the creator of `dotenv`.

  • Project mention: Node.js 20.6 adds built-in support for .env files | dev.to | 2024-04-12

    dotenv-vault is another popular package that lets you encrypt your secret and decrypt the file just in time. They are quite helpful for production and CIT environments but are not supported currently.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • envsafe

    🔒 Makes sure you don't accidentally deploy apps with missing or invalid environment variables.

  • Project mention: Next.js with Public Environment Variables in Docker | dev.to | 2024-04-01

    To further secure your environment variables, consider using envsafe for validation and type safety. Install the package and adjust the env/env.ts file accordingly along with the variable types:

  • envkey

    Simple, end-to-end encrypted configuration and secrets management

  • Project mention: Show HN: Envkey-VSCode – Autocomplete/type-checking for env vars in 46 languages | news.ycombinator.com | 2023-06-21

    envkey-vscode is a VSCode extension that provides autocomplete, type checking, and peek-on-hover for environment variables in 46 different programming languages. Instead of a typeless, error-prone blob, the environment now acts like a strongly-typed object in every language you work in.

    I’ve been using this extension myself for a couple weeks now and it feels like a pretty significant upgrade to my development workflow, especially when working on integrations across multiple languages, so I thought it was worth showing you all.

    envkey-vscode relies on EnvKey, an open-source, end-to-end encrypted configuration and secrets manager that is focused on security and ease-of-use. It’s cross-platform, can integrate with any language or host, and can be cloud-hosted or self-hosted. Getting a project integrated normally takes a couple minutes.

    More on EnvKey: https://www.envkey.com

    Building and testing it has been an interesting process, as I relied quite heavily on ChatGPT/GPT-4 to cover languages that I’m not very familiar with. It helped me to develop regexes to cover the common forms of environment access in each language, as well as to produce small test cases and Dockerfiles that can run them. While it took a lot of passes and tweaking to root out hallucinations and get each language right, I don’t think there’s any way I could have built a tool like this in a reasonable amount of time. Having a single `test` command that runs examples in dozens of languages is pretty amazing—sort of like a rudimentary version of Replit that runs locally.

    All the code for the extension lives in EnvKey’s monorepo here: https://github.com/envkey/envkey/tree/main/public/sdks/tools...

    I’m planning to write up a blog post on this process and what I’ve learned about how to get the most out of GPT on a polyglot coding project like this. If you’re interested, you can sign up to get notified here when this post is live: https://envkey.us15.list-manage.com/subscribe?u=623039cd8518...

  • create-envfile

    Github Action to create a .env file with Github Secrets

  • znv

    Type-safe environment parsing and validation for Node.js with Zod schemas

  • dotenv-run

    Seamlessly load environment variables. Supports cli, esbuild, rollup, vite, webpack, angular. ESM and Monorepos.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • serverless-aws-secrets

    🛵 Serverless plugin that reads environment variables and replaces secrets using AWS Secrets Manager 🛵

  • Project mention: Show HN: Serverless AWS Secrets Plugin | news.ycombinator.com | 2023-09-16
  • envy

    Envy allows you to synchronize environment variables across different machines. (by itssamuelrowe)

  • c9h

    🐍 Zero-config config for Node.js

  • global-env

    Dynamically evaluate environment variables at runtime. (by Onboardbase)

  • Project mention: Show HN: Global Env – Dynamically evaluate environment variables at runtime | news.ycombinator.com | 2023-10-03
  • chimera

    A fantastic configuration library for Deno (by Altair-Bueno)

  • cra-envs

    ⚙️ Bundle env var in CRA at launch time!

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript environment-variables related posts

Index

What are some of the best open-source environment-variable projects in TypeScript? This list will help you:

Project Stars
1 infisical 12,237
2 dotenv-vault 1,012
3 envsafe 775
4 envkey 594
5 create-envfile 374
6 znv 320
7 dotenv-run 224
8 serverless-aws-secrets 85
9 envy 20
10 c9h 9
11 global-env 8
12 chimera 5
13 cra-envs 0

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com