https://github.com/lluchs/c4ini
Clonk ini parsing for node.js
https://github.com/lluchs/c4ini
clonk openclonk
Last synced: 4 months ago
JSON representation
Clonk ini parsing for node.js
- Host: GitHub
- URL: https://github.com/lluchs/c4ini
- Owner: lluchs
- License: mit
- Created: 2013-06-28T21:18:44.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-03-26T22:14:44.000Z (over 11 years ago)
- Last Synced: 2025-10-10T22:03:08.302Z (9 months ago)
- Topics: clonk, openclonk
- Language: JavaScript
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
-----
```javascript
var fs = require('fs')
var c4ini = require('c4ini')
var iniString = fs.readFileSync('file.ini')
// There are no options.
var result = c4ini(iniString)
```