{"name":"just-is-empty","version":"3.4.1","description":"return true if object has no enumerable key values","type":"module","exports":{".":{"types":"./index.d.ts","require":"./index.cjs","import":"./index.mjs"},"./package.json":"./package.json"},"main":"index.cjs","types":"index.d.ts","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"},"gitHead":"d8c5dd18941062d8db7e9310ecc8f53fd607df54","homepage":"https://github.com/angus-c/just#readme","_id":"just-is-empty@3.4.1","_nodeVersion":"12.22.6","_npmVersion":"8.1.3","dist":{"integrity":"sha512-bweyqPPl3HReVyVzLJvCJn+cfXJKh6dy4kSLoW9YLqwFz+2vZbWLN38AOK7esEIVPQwY1W48HaNvOFZqYAjLpw==","shasum":"a3d287bf37e8b91856568747c4aed8c8dc992428","tarball":"http://registry-npm.ywwl.com/just-is-empty/download/just-is-empty-3.4.1.tgz","fileCount":9,"unpackedSize":6948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAD/zZhGgjbbW4t6PbnRTb3TOEkvC+LAtU1F4+BRRml2AiBb0ZboHVuQ+uLD+6ziHgX6eLRuvmZ1k8XtCLOrf/bJgQ=="}],"size":2531,"noattachment":false,"key":"/just-is-empty/-/just-is-empty-3.4.1.tgz"},"_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-is-empty_3.4.1_1683403627716_0.37092654654029245"},"_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":1683403627907,"_cnpm_publish_time":1683403627907,"dist-tags":{"latest":"3.4.1"}}