{"name":"refcounter","version":"1.0.0","description":"Simple refcounter","main":"index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/holepunchto/refcounter.git"},"author":{"name":"Holepunch Inc"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/refcounter/issues"},"homepage":"https://github.com/holepunchto/refcounter","_id":"refcounter@1.0.0","gitHead":"4047f858dd64a0df654222daa2aedd0f138dee1b","_nodeVersion":"20.11.1","_npmVersion":"10.9.1","dist":{"integrity":"sha512-1WosVzUy0kPUaPMEtlNDwm99UsteALIhXXR8rerELoa63WkYIXAl0hxgwPFrIYBRWZPGUyekQ04FRtPJ7dHk9w==","shasum":"bd1845507b8a2d092c85134f070bffff56396291","tarball":"http://registry-npm.ywwl.com/refcounter/download/refcounter-1.0.0.tgz","fileCount":5,"unpackedSize":13250,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/T5G7dxAQFqhmrOWw2XbJtZnCBNWXPw5iDW4sDFzz5AiEAtNJxTcZ2X3ob9krjGTi1Y/N3GQi/i+fbz8w+iNV4r1k="}],"size":4684,"noattachment":false,"key":"/refcounter/-/refcounter-1.0.0.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/refcounter_1.0.0_1734550540099_0.003489709056224477"},"_hasShrinkwrap":false,"readme":"# refcounter\n\nSimple refcounter\n\n```\nnpm install refcounter\n```\n\n## Usage\n\n``` js\nconst RefCounter = require('refcounter')\n\nconst refs = new RefCounter()\n\nrefs.inc()\nrefs.dec()\n\nrefs.isIdle() // true is no refs\nawait refs.idle() // wait for no refs\n```\n\n## License\n\nApache-2.0\n","publish_time":1734550540289,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_cnpm_publish_time":1734550540289,"dist-tags":{"latest":"1.0.0"}}