require-ini

require('require-ini') lets you load INI files using require syntax. For example: var config = require('./config.ini');

npm install require-ini
1 downloads in the last day
29 downloads in the last week
257 downloads in the last month

See better-require.

Install

npm install require-ini

Usage

require('require-ini');
var data = require('./config.ini');

Reference

http://nodejs.org/api/all.html#all_require_extensions

npm loves you