@sz-sw-le0/object-get-properties
v1.0.0
Published
Returns an array containing all the names of the own properties of the object passed as argument, including non-enumerable properties.
Downloads
1
Readme
object-get-properties
Returns an array containing all the names of the own properties of the object passed as argument, including non-enumerable properties.
It does not consider inherited properties.
Example usage:
const objectGetProperties = require("object-get-properties")
console.log(objectGetProperties({a: 1, b: 2})) // ["a", "b"]