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. Learn more →
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.
-
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.
-
envsafe
🔒 Makes sure you don't accidentally deploy apps with missing or invalid environment variables.
-
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.
-
serverless-aws-secrets
🛵 Serverless plugin that reads environment variables and replaces secrets using AWS Secrets Manager 🛵
-
envy
Envy allows you to synchronize environment variables across different machines. (by itssamuelrowe)
You should look into Infisical: https://github.com/Infisical/infisical
Disclaimer: I’m one of the founders.
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.
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:
Project mention: Show HN: Envkey-VSCode – Autocomplete/type-checking for env vars in 46 languages | news.ycombinator.com | 2023-06-21envkey-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...
Project mention: Show HN: Global Env – Dynamically evaluate environment variables at runtime | news.ycombinator.com | 2023-10-03
TypeScript environment-variables related posts
- Dotenv-vault: a CLI to sync .env files across machines, envs, and team members
- Ask HN: Where do you save your API keys?
- Secure Credential Management in Ansible on a Shared Server?
- Show HN: Shello – Wrangle Environment Variables
- Show HN: Serverless AWS Secrets Plugin
- Can't ping/http(s)/TCP Port to services running in docker container
- Show HN: Infisical – open-source secret management platform
-
A note from our sponsor - InfluxDB
www.influxdata.com | 30 Apr 2024
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