motdotla / dotenv

Loads environment variables from .env for nodejs projects.
https://www.dotenvx.com
BSD 2-Clause "Simplified" License
19.18k stars 859 forks source link

Add config usage example code when using ES6 import to README.md #736

Closed HwangTaehyun closed 1 year ago

HwangTaehyun commented 1 year ago

Add config usage example code when using ES6 import

motdotla commented 1 year ago

Thank you for this, but I think the docs below explain this well enough but in the standard js format. ES6 users can modify to ES6 format as they wish.