-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Sometimes maybe useful to set the environment programmatically, instead of relying on NODE_ENV it can be set using the API.
The API can add another function which set an environment according to any given string. An alias for common operations can be useful as well. Example:
env.set("development")
env.setDev()
env.set("prod")
env.setProd()Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request