{"name":"just-is-empty","version":"3.3.0","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":"192fc6b964b038757e30d239a1f3547c9eb6e30f","homepage":"https://github.com/angus-c/just#readme","_id":"just-is-empty@3.3.0","_nodeVersion":"12.22.6","_npmVersion":"8.1.3","dist":{"integrity":"sha512-GWacjX1hMMiwolyAm3quCaWexQeF/ZBSvkWr7Rc45OVmBYB+pSnr/XqYYKgFtiehr/KiE9xrEXtoj+ywPWuAHw==","shasum":"24837c047c06f4aea9c4886c016dae750d267d07","tarball":"http://registry-npm.ywwl.com/just-is-empty/download/just-is-empty-3.3.0.tgz","fileCount":9,"unpackedSize":6821,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWxLyCDWtcUi39TZzZUtZaqG+/mC1SkiHABLfEEcyTmAiBFYVABaI6z1smZjzkzcmq0Yv9WzjLEUOWrhiims7ScjQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjni4IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4eRAAk95yIdpVXePDVHh1HuSUJjSLLz97mOIsPSLc2nR2VAaZjrv0\r\nxqjVFd3LOnssbeRT7FQpBJkuU+l69vg0e9dE6hAOaURUEIngHD8hjIzP5Aq+\r\nerf7LfwE6gCMM37FnMENnzIAzbWEc1EQdzD7uzoZ2w+Ctc0ZHdpxe0oa6Lqi\r\nG/gp3k8iAjsPsj4PIEU657SbVxa6AAWeI1pphARt1qWRi4m8zthUF4Ox9ECs\r\nTuOv/4nTUNcDDqrKG/feKE2dfL4cBXPvayx7aT81K+vn0CuOVfs4sm6/qpHE\r\nSxOOCE997TFHev924nYZRNySsEB0uboO0/wkz1rJUV56r538/stqihggG0TO\r\nD7RVXbjSZs59QkM5Lv8HkfWH1BX0rfHMiuCBDiad0TKx5yJo8JVPLS52+5v7\r\n3TzDtBprYnwoIuj4nZL7g0Ep5TXKVRw9YQb6eXgq/u9JiUSeHJA4n6rFZVQ3\r\nck/jLNOt/LIZJBhHvt+a6eyuNy+1ZiVSgAOWozpamaz7tn67Z1qFF+Rsybi6\r\nJrFgmc0WqGbXnMcygV8oZI8juYdNEwV3XZh2ktnfVvIVM1PPvzpEPxi1A6Xv\r\nuIy/Islzag2nAxSzcYhm8s8RSIK+4slNEof4s0zDYxz+OB7QrmZJP5ALPHSa\r\niayRizS1A/xq9sBFP24xioPh27EfiL3vVUQ=\r\n=tZqR\r\n-----END PGP SIGNATURE-----\r\n","size":2498,"noattachment":false,"key":"/just-is-empty/-/just-is-empty-3.3.0.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.3.0_1671310855885_0.19317026117987557"},"_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":1671310856077,"_cnpm_publish_time":1671310856077,"dist-tags":{"latest":"3.4.1"}}