Skip to content
 
 

Latest commit

 

History

160 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eini-beam - An Erlang INI parser

This is just an INI parser. That's it. No state, no gen_servers, no ets tables, just a parser that returns a map and does not convert strings into atoms.

You're probably looking for the original: https://github.com/erlcloud/eini

Example

Input file:

  [title1]
  key = value
  key2 = value2
  [title2]
  key = value

Result form:

  #{ <<"title1">> => #{ <<"key">> => <<"value">>,
                        <<"key2">> => <<"value2">> },
     <<"title2">> => #{ <<"key">> => <<"value">> }
   }

History

This is a fork to decruft the parser of things it doesn't need (supervision, ETS, gen_server) and make it use maps and not convert to atoms. We renamed the repo in 2021 so we could publish it to hex.

Copyright

Copyright 2011 by Accense Technology, Inc. Copyright 2018 by Mark R. Allen

About

An Erlang INI parser

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages