parses a .ini file
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
README.md
package.json

README.md

Node .ini parse

Installation

npm:

npm install ini-parse

Description

Simple .ini parse with node.js(change for npm 'iniparser https://github.com/shockie/node-iniparser')

var iniParse = require('ini-parse');
iniParse.parse('./test.ini', function(err,data){
    console.dir(data);
});

// parse sync 
var syncData = iniParse.parseSync('./test.ini');

// parse string ini format
var strData = iniParse.parseString('key=value');