0.1.0 • Published 11 months ago

parse-dotenv-file v0.1.0

Weekly downloads
-
License
The Unlicense
Repository
github
Last release
11 months ago

Dumb simple function to parse .env file

This package expose two functions:

  • tryParseDotenvFile - throw an error if .env file missed
  • parseDotenvFile - returns empty object if .env missed

Both functions have first optional parameter relative or absolute path to .env file. Read tests for more info.

0.1.0

11 months ago