Comments (4)
Very nice! I need want to encrypt part of my config values which are going to be passed via dotenv file and custom ajv keyword would help me to decrypt that values on the fly
from env-schema.
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
from env-schema.
After looking through the code, I decided that I need a completely different solution, so ended up with custom implementation of dotenv parser and transform
ajv keyword - https://github.com/stalniy/jotenv
from env-schema.
Closed by #76
from env-schema.
Related Issues (18)
- Add method for process env validation HOT 2
- Delete stale Greenkeeper branches HOT 4
- Can i use with dotenv-flow? HOT 3
- Use with fluent-json-schema now requires to call valueOf in ObjectSchema when using Typescript HOT 7
- A demo application with env-schema for reference - should we mention anywhere here to help others? HOT 2
- config.data in the README file has to be config.ALLOWED_HOSTS? HOT 1
- Typing `separator` with an array instead of just string
- Type.RegExp fails at Ajv compilation HOT 3
- Does not return value on Interpolation of variables HOT 2
- Expand environment variables HOT 3
- Migrate to fluent-json-schema in tests and docs HOT 2
- Add the support to add formats HOT 3
- Coverage 100% HOT 2
- Cast boolean from env variable HOT 3
- Use Ajv.errorsText instead of errors.map, otherwise you loose context HOT 1
- TS: Open up envSchemaData HOT 2
- `customOptions` is not typed, so TypeScript is giving errors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from env-schema.