get-own-enumerable-property-symbols (3.0.2)

Published 2026-02-24 13:57:11 +00:00 by atheaadmin

Installation

registry=
npm install get-own-enumerable-property-symbols@3.0.2
"get-own-enumerable-property-symbols": "3.0.2"

About this package

get-own-enumerable-property-symbols Build Status

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

Similar to Object.getOwnPropertySymbols but only enumerable keys.

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

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

Dependencies

Development Dependencies

ID Version
@commitlint/cli ^8.2.0
@commitlint/config-conventional ^8.2.0
@commitlint/travis-cli ^8.2.0
@types/node ^12.12.11
@typescript-eslint/eslint-plugin ^2.8.0
eslint ^6.6.0
eslint-config-standard-with-typescript ^11.0.1
eslint-plugin-import ^2.18.2
eslint-plugin-node ^10.0.0
eslint-plugin-promise ^4.2.1
eslint-plugin-standard ^4.0.1
husky ^3.1.0
npm-run-all ^4.1.5
standard-version ^7.0.1
tsconfigs ^4.0.1
typescript ^3.7.2

Keywords

get enumerable symbol property key object
Details
npm
2026-02-24 13:57:11 +00:00
0
Shahar Or
ISC
latest
2.2 KiB
Assets (1)
Versions (1) View all
3.0.2 2026-02-24