1.0.0 • Published 6 years ago

kvify v1.0.0

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
6 years ago

kvify

Parse .ini format config files and JSON files with a single function

Given the contents of a file as a string, returns an object, whether that string was:

{
  "something":"cool"
}

returns what you would expect or...

something=oldschool
# with comments
and interestesting puntuation = !
# returns {something: "oldschool", "and interesting punctuation": "!" }

which you might not expect.