# descriptors

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

Latest version **1.0.4** (published 2016-10-11) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2016-10-11 |
| First published | 2016-07-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Vigour.io |
| Maintainers | vigour-io |
| Keywords | getOwnPropertyDescriptors, prototype |

## Links

- npm: https://www.npmjs.com/package/descriptors
- Repository: https://github.com/vigour-io/descriptors
- Homepage: https://github.com/vigour-io/descriptors#readme
- Issues: https://github.com/vigour-io/descriptors/issues
- npm.io page: https://npm.io/package/descriptors

## Dependencies (1)

- [bubleify](https://npm.io/package/bubleify.md) ^0.5.1

## Recent versions

- 1.0.4 (latest) — 2016-10-11
- 1.0.3 — 2016-10-07
- 1.0.2 — 2016-07-14
- 1.0.1 — 2016-07-13
- 1.0.0 — 2016-07-13

## README

# descriptors
Like [`Object.getOwnPropertyDescriptor`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor), but goes along the prototype chain and gets the descriptors for all properties.

[![Build Status](https://travis-ci.org/vigour-io/descriptors.svg?branch=master)](https://travis-ci.org/vigour-io/descriptors)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![npm version](https://badge.fury.io/js/descriptors.svg)](https://badge.fury.io/js/descriptors)
[![Coverage Status](https://coveralls.io/repos/github/vigour-io/descriptors/badge.svg?branch=master)](https://coveralls.io/github/vigour-io/descriptors?branch=master)

--
**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
    }
  }
*/
```

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