1.0.0 • Published 3 years ago

@sz-sw-le0/object-get-properties v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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"]