Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
parses a .ini file
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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');
Something went wrong with that request. Please try again.