File size: 895 Bytes
6870e27 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 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
|