File "example.js"

Full Path: C:/wamp64/www/Seleccion/node_modules/proxy-addr/example.js
File size: 245 bytes
MIME-type: text/plain
Charset: utf-8

var undefsafe = require('undefsafe');

var object = {
  a: {
    b: {
      c: 1,
      d: [1, 2, 3],
      e: 'remy'
    }
  }
};

console.log(undefsafe(object, 'a.b.e')); // "remy"
console.log(undefsafe(object, 'a.b.not.found')); // undefined