{"name":"refcounter","version":"0.0.0","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"refcounter@0.0.0","homepage":"https://github.com/holepunchto/refcounter","bugs":{"url":"https://github.com/holepunchto/refcounter/issues"},"dist":{"shasum":"06f8b9f17abcc4e3d1dd2b01d4e555de0695f685","tarball":"http://registry-npm.ywwl.com/refcounter/download/refcounter-0.0.0.tgz","fileCount":5,"integrity":"sha512-pTxzdxPx0Rs2VZfD6sW06q+bWr8KMqSe89qddYiiZDYy2qHPMw6EIUK4+9WKTk1qdW5Ljdgcx6ASyk4UpLbxnQ==","signatures":[{"sig":"MEUCIQCmNQ0XGbOyFD/rdnrEx/bksiyquy4r8Un5GuW2pQxjsAIgNF7jFUXp3Axnm88LLLqfT4UPItbG+pmwVOxfaQhuiHk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13250,"size":4684,"noattachment":false,"key":"/refcounter/-/refcounter-0.0.0.tgz"},"main":"index.js","gitHead":"bfddb8042e459f50ab34790a4893244da1227361","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/refcounter.git","type":"git"},"_npmVersion":"10.9.1","description":"Simple refcounter","directories":{},"_nodeVersion":"20.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/refcounter_0.0.0_1734550491373_0.9666471920581099","host":"s3://npm-registry-packages-npm-production"},"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":1734550491564,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_cnpm_publish_time":1734550491564,"dist-tags":{"latest":"1.0.0"}}