node package manager

resolvr

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