kvify

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i kvify

Weekly Downloads

0

Version

1.0.0

License

BSD-3-Clause

Unpacked Size

1.2 kB

Total Files

5

Last publish

Collaborators

  • jazzyjackson