# getallpropertynames

> Get all property names along the prototype chain

Latest version **0.1.3** (published 2015-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install getallpropertynames
pnpm add getallpropertynames
yarn add getallpropertynames
bun add getallpropertynames
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-04-14 |
| First published | 2015-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Malte Wessel |
| Maintainers | malte-wessel |
| Keywords | properties, prototype, inheritance |

## Links

- npm: https://www.npmjs.com/package/getallpropertynames
- Repository: https://github.com/malte-wessel/getallpropertynames
- Issues: https://github.com/malte-wessel/getallpropertynames/issues
- npm.io page: https://npm.io/package/getallpropertynames

## Recent versions

- 0.1.3 (latest) — 2015-04-14
- 0.1.2 — 2015-03-01
- 0.1.1 — 2015-03-01
- 0.1.0 — 2015-03-01

## README

getAllPropertyNames
=========

Get all property names along the prototype chain

[![Travis](https://img.shields.io/travis/malte-wessel/getallpropertynames.svg?style=flat-square)](https://travis-ci.org/malte-wessel/getallpropertynames)
[![NPM](https://img.shields.io/badge/npm-getallpropertynames-brightgreen.svg?style=flat-square)]()


## Install

````
npm install getallpropertynames --save
````

## Usage
````javascript
import getAllPropertyNames from 'getallpropertynames';


class Foo {
    foo() {}
}

class Bar extends Foo {
    bar() {}
}

let bar = new Bar();

getAllPropertyNames(bar); 
// ['constructor', 'bar', 'foo', 'toString', 'toLocaleString', 
// 'valueOf', 'hasOwnProperty', 'isPrototypeOf', ... ]

````

---
_Source: https://npm.io/package/getallpropertynames · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
