object-size
Get the length of own enumerable properties on an object excluding the object's prototype properties.
Install
npm:
Install withnpm i object-size --save-dev
Run tests
npm test
Usage
var len = ;console;//=> 2
Author
Jon Schlinkert
Other javascript/node.js utils
Other projects that I maintain:
- arr
- arr-diff
- array-last
- array-slice
- array-sum
- arrayify-compact
- compact-object
- delete
- for-in
- for-own
- has-any
- has-value
- is-number
- is-plain-object
- mixin-deep
- mixin-object
- object-length
- omit-empty
- reduce-object
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on October 01, 2014.