envars
node-convict
envars | node-convict | |
---|---|---|
2 | 2 | |
9 | 2,310 | |
- | 0.3% | |
4.4 | 0.0 | |
6 months ago | 21 days ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
envars
node-convict
-
What's the best practice to fetch 10 random images from Cloud Storage to display to users?
However, if you have plans to increase the number of images, like to 500 for example, then I'd suggest using server-side pagination here. I'd also suggest using cursor-based pagination instead of offset-based for better performance. Github uses cursor-based pagination on stargazers page since the number of stars can get potentially huge for a repo.
-
A functional command-line parser toolkit that grows with your program
Thoughts on how convict does it? It's my current favorite. It'd be a hard sell for me not to get effortless tiered-overrides straight out of the box.
What are some alternatives?
envalid - Environment variable validation for Node.js
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
dotenv-run - Seamlessly load environment variables. Supports cli, esbuild, rollup, vite, webpack, angular. ESM and Monorepos.
dotenv-flow - Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
dotenv-vault - sync .env files—from the creator of `dotenv`.
strictyaml - Type-safe YAML parser and validator.
cfg-rs - A Configuration Library for Rust Applications
shargs-example-sync-deepthought-config-env-argv - shargs-example-sync-deepthought-config-env-argv is a sample application of shargs 🦈.
nestjs-config - Config module for nestjs using dotenv :key:
zod - TypeScript-first schema validation with static type inference
PHP Dotenv - Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
gen-env-template - Generate documentation for your environment variables