object-len

1.0.0 • Public • Published

object-len

npm Travis (.com) npm npm bundle size

Get the number of properties in an object

Install

npm i object-len

Usage

const objectLength = require('object-len')

const o = {
  a: 1,
  b: 2,
  c: 3,
}

const oLength = objectLength(o)

console.log(oLength) // 3

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i object-len

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.48 kB

Total Files

4

Last publish

Collaborators

  • neosiae