This package has been deprecated

Author message:

Use @entrptaher/simple-property-retriever instead

simple-property-retriever

0.0.2 • Public • Published

Get Object properties, taken from MDN.

Example Usage

class Rectangle {
  constructor(height, width) {
    this.height = height;
    this.width = width;
  }

  get area() {
    return this.calcArea();
  }

  calcArea() {
    return this.height * this.width;
  }
}

console.log(ret.getOwnNonenumerables(Rectangle.prototype));
// [ 'constructor', 'area', 'calcArea' ]

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i simple-property-retriever

      Weekly Downloads

      3

      Version

      0.0.2

      License

      MIT

      Last publish

      Collaborators

      • entrptaher