Gather descriptors from constructor's prototype chain
npm install get-prototype-descriptors  
Returns all descriptors of a prototype chain while respecting prototype inheritance.
```
npm install --save get-prototype-descriptors
`js
class A {
one() {}
get getterOnA() {
return 'A';
}
}
class B extends A {
two() {}
get getterOnA() {
return 'B';
}
}
class C extends B {
three() {}
get getterOnC() {
return 'C'
}
}
import getPrototypeDescriptors from 'get-prototype-descriptors';
let descriptors = getPrototypeDescriptors(C);
`
The descriptors will be flattened and descriptors from child classes will overload those of the parent.
get-prototype-descriptors requires Object.getOwnPropertyDescriptors` which is not available in IE and pre-Node 6.
You may consider adding a polyfill if you need to support these environments.
MIT License