Like Object.getOwnPropertyDescriptor, but goes along the prototype chain and gets the descriptors for all properties.
npm install descriptorsObject.getOwnPropertyDescriptor, but goes along the prototype chain and gets the descriptors for all properties.



--
Usage
``javascript``
const descriptors = require('descriptors')
descriptors({ a: 'a', b: 'b' })
/*
{
a: {
value: 'a',
writable: true,
enumerable: true,
configurable: true
},
b: {
value: 'a',
writable: true,
enumerable: true,
configurable: true
}
}
*/