Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 793 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 793 Bytes

libdotenv

Build Status

libdotenv is a C library providing the ability to load values from a .env file into environment variables.

An example can be found in the examples directory.

Features

  • Ignores lines starting with whitespace
  • Ignores lines starting with whitespace #
  • Empty values become empty strings
  • Whitespace is removed from start and end of unquoted strings
  • Single quoted strings are replaced to double quoted
  • Quoted values maintain their whitespace

Contributing

Please feel free to open a PR!

License

libdotenv source code is available under the BSD 2 clause License.

Contact

@bdowns328