1.0.6 • Published 8 years ago

parse-ini v1.0.6

Weekly downloads
19
License
MIT
Repository
-
Last release
8 years ago

Easy and robust ini file parser for node.

Usage description

Given file.ini:

; file.ini
variable1 = value1
[MySectionName]
lastUsed=3

You can acces these ini file variables like this:

var parser = require('parse-ini');
var iniObj = parser.parse('file.ini');
console.log(iniObj.variable1);
console.log(iniObj.MySectionName.lastUsed);

Features

  • Variable key and value can contain nearly ANY character incl. whitespace
  • Variables can be defined in sections
  • Variables without section are available directly on parsed object as property
  • Line comments starting with ; are possible
1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago