get-own-enumerable-property-symbols
Returns an array of all enumerable symbol properties found directly upon a given object
Last updated 4 months ago by mightyiam .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install get-own-enumerable-property-symbols 
SYNC missed versions from official npm registry.

get-own-enumerable-property-symbols

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}))
// []

Current Tags

  • 4.0.0                                ...           latest (4 months ago)

8 Versions

  • 4.0.0                                ...           4 months ago
  • 3.0.2                                ...           7 years ago
  • 3.0.1                                ...           7 years ago
  • 3.0.0                                ...           9 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 23
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 0
Last Month 7
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE