GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devjs1000/dotenv-variable: alternative of dotenv with the power of yaml in it.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
node_modules/yaml
node_modules/yaml
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

dotenv-variable

  1. add a .env file.
  2. add below format of code.
isProduction: true
production:
  port: 7000
dev:
  port: 8000
  1. import
const dep=require("dot-env-plus");

you can access values from config return or process.env;

const {port}=dep.config();
console.log(port);
dep.config();
console.log(process.env.port);

About

alternative of dotenv with the power of yaml in it.

Topics

configurationdotenvdotenv-variableenvenvironment-variablesjsyaml

Resources

Readme
Activity

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.