klavs / node-ini-parse

parses a .ini file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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');

About

parses a .ini file


Languages

Language:JavaScript 100.0%