{"name":"just-is-empty","version":"2.1.0","description":"return true if object has no enumerable key values","type":"commonjs","main":"index.js","module":"index.esm.js","exports":{".":{"require":"./index.js","default":"./index.esm.js"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/angus-c/just.git"},"keywords":["object","empty","no-dependencies","just"],"author":{"name":"Angus Croll"},"license":"MIT","bugs":{"url":"https://github.com/angus-c/just/issues"},"homepage":"https://github.com/angus-c/just#readme","_id":"just-is-empty@2.1.0","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-XMhEt5rLmGfRCHabz0w8ZbmilvD42KtaUCQYbJYgiO01iW+6C8du3H5TnGRxKaX/tr3ej9fm4dVM70XD8ci83w==","shasum":"963be7bfc5fb62ca28acf3285c414bfebd1fa86e","tarball":"http://registry-npm.ywwl.com/just-is-empty/download/just-is-empty-2.1.0.tgz","fileCount":6,"unpackedSize":4879,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNNlmG9B2oP1H7UpMdkatu83xlv2jgPWlfGY7TuFqw8AIhANbD9A7nqSf3f8xt0g3b/7KYL0kZRKhgkwcPO4EI79QH"}],"size":1834,"noattachment":false,"key":"/just-is-empty/-/just-is-empty-2.1.0.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-is-empty_2.1.0_1635665918889_0.0959907594491729"},"_hasShrinkwrap":false,"readme":"<!-- DO NOT EDIT THIS FILE! THIS FILE WAS AUTOGENERATED BY TEMPLATE-MATE -->\n<!-- SEE https://github.com/angus-c/just/blob/master/CONTRIBUTING.md#readme-template -->\n\n## just-is-empty\n\nPart of a [library](https://anguscroll.com/just) of zero-dependency npm modules that do just do one thing.\nGuilt-free utilities for every occasion.\n\n[`🍦 Try it`](https://anguscroll.com/just/just-is-empty)\n\n```shell\nnpm install just-is-empty\n```\n```shell\nyarn add just-is-empty\n```\n\nReturn true if object has no enumerable key values\n\n```js\nimport isEmpty from 'just-is-empty';\n isEmpty({a: 3, b: 5}) // false\n isEmpty([1, 2]) // false\n isEmpty(new Set([1, 2, 2])) // false\n isEmpty((new Map()).set('a', 2)) // false\n isEmpty({}) // true\n isEmpty([]) // true\n isEmpty(new Set()) // true\n isEmpty(new Map()) // true\n isEmpty('abc') // false\n isEmpty('') // true\n isEmpty(0) // true\n isEmpty(1) // true\n isEmpty(true) // true\n isEmpty(Symbol('abc')); // true\n isEmpty(//); // true\n isEmpty(new String('abc')); // false\n isEmpty(new String('')); // true\n isEmpty(new Boolean(true)); // true\n isEmpty(null) // true\n isEmpty(undefined) // true\n```\n","publish_time":1635665919019,"_cnpm_publish_time":1635665919019,"dist-tags":{"latest":"3.4.1"}}