UNPKG

obj-key-count

Version:

A fast way to check if the object has a specific number of properties.

60 lines 1.3 kB
{ "name": "obj-key-count", "description": "A fast way to check if the object has a specific number of properties.", "keywords": [ "obj", "key", "count", "a", "fast", "way", "to", "check", "if", "the", "object", "has", "specific", "number", "of", "properties" ], "license": "MIT", "version": "1.0.8", "main": "lib/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)", "files": [ "bin/", "app/", "lib/", "dist/", "src/", "scripts/", "resources/", "menu/", "cli.js", "index.js", "index.d.ts", "package-lock.json", "bloggify.js", "bloggify.json", "bloggify/" ], "repository": { "type": "git", "url": "git+ssh://git@github.com/IonicaBizau/obj-key-count.git" }, "bugs": { "url": "https://github.com/IonicaBizau/obj-key-count/issues" }, "homepage": "https://github.com/IonicaBizau/obj-key-count#readme", "dependencies": { "is-empty-obj": "^1.0.4" }, "blah": { "description": "This is not using the `Object.keys(obj).length` method but iterates a part of object until it reaches the specified count. :rocket:" } }