npm

This package has been deprecated

Author message:

Package no longer supported. Contact support@npmjs.com for more info.

pit-ro

0.0.1 • Public • Published

Pit RO

Read-only pit for Node.js.

INSTALLATION

$ npm install pit-ro

QUICK USAGE

Load foo section from ~/.pit/default.yaml:

var pit = require('pit-ro');
var config = pit.get('foo');

Load bar section from ~/.pit/another.yaml:

var pit = require('pit-ro');
var config = pit.get('foo', 'another');

Load buz section from config.yaml in the current directory:

var pit = require('pit-ro');
pit.pitDir = './';
var config = pit.get('buz', 'config');

LIMITATION

READ ONLY.

LICENSE

MIT: http://hail2u.mit-license.org/2013

Readme

Keywords

none

Package Sidebar

Install

npm i pit-ro

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • npm