Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Clonk ini parsing for node.js
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
.travis.yml
README.md
c4ini.js
package.json

README.md

C4INI

Parses ini files as used by Clonk masterservers. In contrast to standard ini files, these can have nested sections. See test/files for some example files.

c4ini will take an ini file string and convert it to a JavaScript object.

Usage

var fs = require('fs')
var c4ini = require('c4ini')

var iniString = fs.readFileSync('file.ini')
// There are no options.
var result = c4ini(iniString)
Something went wrong with that request. Please try again.