Skip to content

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

Notifications You must be signed in to change notification settings

jazzyjackson/kvify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published