misc
gookit/config
misc | gookit/config | |
---|---|---|
2 | 3 | |
4 | 523 | |
- | 0.6% | |
9.8 | 7.7 | |
9 days ago | 2 months ago | |
TypeScript | Go | |
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.
misc
-
How and why do we bundle zx?
Esbuild provides code-splitting with dynamic imports to reuse common code chunks. But not is static form. The manual chunks API is missing. esbuild-plugin-entry-chunks
- topoconfig: enhancing config declarations with graphs
gookit/config
-
topoconfig: enhancing config declarations with graphs
gookit/config
-
How to read .env file with a variable that contains $ ?
In that case, you should not be using the shell to read the .env file; instead, use a library. I recommend https://github.com/gookit/config
- GitHub - gookit/config: 📝 Go configuration manage(load,get,set,export). support JSON, YAML, TOML, Properties, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var, binding data to struct.
What are some alternatives?
config - Helps you find, load, combine, autofill and validate configuration values of any kind
viper - Go configuration with fangs
uniconfig - Yet another one config processor. Weird. Slow. Our own.
go-env - Golang handling of environment values
cosmiconfig - Find and load configuration from a package.json property, rc file, TypeScript module, and more!
konfig - Composable, observable and performant config handling for Go for the distributed processing era
toposource - Directed graphs analyzer for parallel traversals
gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections
misc.
ini - Package ini provides INI file read and write functionality in Go
node-config - Node.js Application Configuration
toml - Instream TOML to JSON encoder