0.1.1 • Published 10 years ago

object-size v0.1.1

Weekly downloads
5
License
-
Repository
github
Last release
10 years ago

object-size NPM version

Get the length of own enumerable properties on an object excluding the object's prototype properties.

Install

Install with npm:

npm i object-size --save-dev

Run tests

npm test

Usage

var len = require('object-size');
console.log(len({a: 'a', b: 'b'}));
//=> 2

Author

Jon Schlinkert

Other javascript/node.js utils

Other projects that I maintain:

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on October 01, 2014.