miktam / sizeof

Get size of a JavaScript object
MIT License
301 stars 45 forks source link

Map support #73

Closed miktam closed 1 year ago

miktam commented 1 year ago

Added map support. It converts the Map to an object by calling Object.fromEntries(map). This method should work with Map that have nested properties as well.