# get-own-enumerable-property-symbols

> Returns an array of all enumerable symbol properties found directly upon a given object

Latest version **4.0.0** (published 2026-08-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install get-own-enumerable-property-symbols
pnpm add get-own-enumerable-property-symbols
yarn add get-own-enumerable-property-symbols
bun add get-own-enumerable-property-symbols
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2026-08-14 |
| First published | 2016-11-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Shahar "Dawn" Or |
| Maintainers | mightyiam |
| Keywords | get, enumerable, symbol, property, key, object |

## Links

- npm: https://www.npmjs.com/package/get-own-enumerable-property-symbols
- Repository: https://github.com/mightyiam/get-own-enumerable-property-symbols
- Homepage: https://github.com/mightyiam/get-own-enumerable-property-symbols#readme
- Issues: https://github.com/mightyiam/get-own-enumerable-property-symbols/issues
- Funding: https://github.com/sponsors/mightyiam
- npm.io page: https://npm.io/package/get-own-enumerable-property-symbols

## Recent versions

- 4.0.0 (latest) — 2026-08-14
- 3.0.2 — 2019-12-10
- 3.0.1 — 2019-10-04
- 3.0.0 — 2018-04-17
- 2.0.1 — 2017-06-25
- 2.0.0 — 2017-06-25
- 1.0.1 — 2016-11-23
- 1.0.0 — 2016-11-23

## README

# get-own-enumerable-property-symbols

Returns an array of all *enumerable* symbol properties found directly upon a given object.

Similar to [`Object.getOwnPropertySymbols`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySymbols)
but only [enumerable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties) keys.

```js
import getOwnEnumPropSymbols from 'get-own-enumerable-property-symbols'

getOwnEnumPropSymbols({ [Symbol()]: undefined })
// [Symbol()]
getOwnEnumPropSymbols(Object.defineProperty({}, Symbol(), {enumerable: false}))
// []
```

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