Check if an object is empty.
npm install is-empty-object
var isEmptyObject = require('is-empty-object')
isEmptyObject({}) // => true
isEmptyObject({ one: 1 }) // => false
isEmptyObject([]) // => false
Check if an object is empty.
Homepage npm JavaScript Download