{"name":"just-is-empty","version":"3.4.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":"398d82fa9a78d89e7f693f733edb3c56c972e43d","homepage":"https://github.com/angus-c/just#readme","_id":"just-is-empty@3.4.0","_nodeVersion":"12.22.6","_npmVersion":"8.1.3","dist":{"integrity":"sha512-XssyzgC6ZFo1o7LRyUEls29yYubpCsJ5t2O8rt+JTVsRmBkJUegrZoQgrqf6RmTx1LFcZWKkW8B2/ceRYMwcbw==","shasum":"53d9c0642c90041e62b3695903abcde097ba954f","tarball":"http://registry-npm.ywwl.com/just-is-empty/download/just-is-empty-3.4.0.tgz","fileCount":9,"unpackedSize":6973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAaeFvzXWCq96KOUUzUuDZHntxpBRd1aCmSTi31asN0gIgZ7kMLHXrxNi21xljt8CdtvFu4+/juul2GMMmc8ir3lM="}],"size":2534,"noattachment":false,"key":"/just-is-empty/-/just-is-empty-3.4.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.4.0_1683403234410_0.009101891425445041"},"_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":1683403234618,"_cnpm_publish_time":1683403234618,"dist-tags":{"latest":"3.4.1"}}