envalid
ow
envalid | ow | |
---|---|---|
3 | 2 | |
1,322 | 3,784 | |
- | - | |
4.1 | 2.3 | |
8 days ago | 11 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
envalid
-
neon-env: a type-safe env parser
Looks very similar to https://github.com/af/envalid. Any reason to use one over the other?
-
How to properly deal with env variables?
Check out https://github.com/af/envalid/ – you declare the env vars you expect to be present via an object literal, and it validates them at runtime, returning a fully typed env object. Helps to centralize the validation and documentation of all of the env vars in your program too.
- Af/envalid: Environment variable validation for Node.js
ow
- Ow: Function Argument Validation for Humans
-
Minimal and fast runtime API payload sanitiser and error message handling
What does your library provide that others don't? For example: https://github.com/colinhacks/zodhttps://github.com/hapijs/joihttps://github.com/jquense/yuphttps://github.com/gcanti/io-tshttps://github.com/pelotom/runtypeshttps://github.com/sindresorhus/ow
What are some alternatives?
envars - Securely load environment variables (configuration settings) from .env files with support of Google Secret Manager.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
bulletproof-nodejs - Implementation of a bulletproof node.js API 🛡️
husky - Git hooks made easy 🐶 woof!
validator-fluent - Validation library for JavaScript/TypeScript with a strongly typed fluent API
joi - The most powerful data validation library for JS [Moved to: https://github.com/sideway/joi]
dandi - 🌻A modular DI, MVC, and Model binding/validation framework for NodeJS and TypeScript or ES6
Faker.js - What really happened with Aaron Swartz?
ReactTemplate - Preconfigured React project with webpack build system and jest unit testing
v86 - x86 PC emulator and x86-to-wasm JIT, running in the browser
@sindresorhus/is - Type check values
file-type - Detect the file type of a Buffer/Uint8Array/ArrayBuffer