node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

denest

Denest

Usage

var denest = require('denest');
denest({a:{b:['blargh', {c: 'bleep'}]}}, 'a.b[1].c');

Will return 'bleep'.

Tests

npm test

100% code coverage, let's keep it that way.