resolvr

resolves a path in an object e.g. 'module.name' in {module: {name: 'resolver'}}

npm install resolvr
6 downloads in the last week
12 downloads in the last month

resolvr

Build status

Resolves a path in a object.

Installation

node.js

$ npm install resolvr

component

$ component install manuelstofer/resolvr

Usage

var resolve = require('resolvr').resolve,
    data = {
        modules: [
            {name: 'resolvr'}
        ]
    };

    resolve(data, 'modules.0.name');  // -> resolvr
npm loves you