dotnotation

```js var object = { shipping: { europe: '15', america: '22' } };

npm install dotnotation
8 downloads in the last month

API

var object = {
  shipping: {
    europe: '15',
    america: '22'
  }
};

it('returns 15', function () {
  dotnotation(object, 'shipping.europe').should.eql('15');
});

it('returns 22', function () {
  dotnotation(object, 'shipping.america').should.eql('22');
});
npm loves you