{"_id":"@bryce-loskie/signal","_rev":"3-25210a235abc5ecfd5776f23657e0369","name":"@bryce-loskie/signal","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@bryce-loskie/signal","version":"0.1.0","packageManager":"pnpm@7.24.2","description":"simple signal implementation","author":{"name":"guygubaby","email":"guygubaby@gmail.com"},"license":"MIT","funding":"https://github.com/sponsors/guygubaby","homepage":"https://github.com/guygubaby/@bryce-loskie/signal#readme","repository":{"type":"git","url":"git+https://github.com/guygubaby/@bryce-loskie/signal.git"},"bugs":{"url":"https://github.com/guygubaby/@bryce-loskie/signal/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"dependencies":{"@bryce-loskie/utils":"^0.2.1"},"devDependencies":{"@bryce-loskie/eslint-config":"^2.0.10","@types/node":"^18.11.18","bumpp":"^8.2.1","eslint":"^8.31.0","tsup":"^6.5.0","tsx":"^3.12.2","typescript":"^4.9.4","vitest":"^0.27.0"},"scripts":{"start":"tsx src/index.ts","dev":"pnpm build -- --watch","build":"tsup","release":"bumpp --commit --push --tag && pnpm publish --access public","lint":"eslint .","test":"vitest","typecheck":"tsc --noEmit"},"_id":"@bryce-loskie/signal@0.1.0","_integrity":"sha512-//gx7jKWYOY8E+2QW5Q0jW/Z8JrWrtkfRDXx5WDhZJxkyEGgmjbe3sBdiWqUnKy+jBsMvyTNg1F2lxemyJiwLQ==","_resolved":"/private/var/folders/1h/nzsjg61j4cxdqw5xlyjnzjtm0000gn/T/eaec5f97f2ba780c3b59c326ed0f6827/bryce-loskie-signal-0.1.0.tgz","_from":"file:bryce-loskie-signal-0.1.0.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-//gx7jKWYOY8E+2QW5Q0jW/Z8JrWrtkfRDXx5WDhZJxkyEGgmjbe3sBdiWqUnKy+jBsMvyTNg1F2lxemyJiwLQ==","shasum":"615f1386b12ef1b1853e165ce1dce4739d6a99a0","tarball":"https://registry.npmjs.org/@bryce-loskie/signal/-/signal-0.1.0.tgz","fileCount":6,"unpackedSize":8544,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQRNDirTJmC8F88qg4Q2gnwkgEOPY5ZklqCm0+h1t2zAiBXYYk5cW8mtaC7KD/rgd2015DeycGrxWXB9vVJtMvqBw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvqgpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmresQ//d0k9dlPMv/dYnnNdSemuZDAsfg988pAPWAvy1qAPST34dT9j\r\nuFaztsmlICB2PyKcFQj0K2ANCh6izo458PsJquHqZAgyN1uhsK+oWWqRq937\r\nbX4SCRAALg42T3qaOBVkzsng3SmsE3XA5w4Nw7yWxkP2sc57PtdGfPVgc4Qk\r\nK17IBOTLXkSxOw6QWM/sREdwjO2lV9Oyq12Mo+OXkf2a4qd8+DJ7ZDZCCHTk\r\noswbsR2WOzjOaJQTjnj5GsupGPUSqjAnWMQGd//sO+w4AnGv+Utohez23vYR\r\ncfKQHZwdNwkRKWXsVffX5raZtMFeVEwtccxS9CCSlDqld22sFldDN7LAPO4w\r\nFHQcUy3MECEEmPBhRoPmo7RTJtOkJb087PdPONZriBTzhz2pisVBIpE2heqz\r\nCvoauFuE/Ve3/fyeGa5GXlV4APfM8IRHWW2A3EmhsHL5L//OvE5MaI4QL90H\r\nSLfcWQYQJrmHkt763+aXjWPo19Rn/Y67jxtFuiQ2cuZkwjlax1YOUrEPQ/An\r\nmLKkYZ6YRI5g9XEevWybl3sEiXNKRnBK3u1PdNfD69tW5cpzM10e8mfej7qs\r\nbBnkAlNZFgpfgbySIEXhzZ975rUDo1uDFjbpZpR+yme9mv1m/98yPI+Wbzm2\r\nSSRnGViIKspgsmJtjVXLCIekd5b5wixVKnM=\r\n=Qzne\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guygubaby","email":"1907004005@qq.com"},"directories":{},"maintainers":[{"name":"guygubaby","email":"1907004005@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signal_0.1.0_1673439273453_0.8447396698548528"},"_hasShrinkwrap":false},"0.1.1":{"name":"@bryce-loskie/signal","version":"0.1.1","packageManager":"pnpm@7.24.2","description":"simple signal implementation","author":{"name":"guygubaby","email":"guygubaby@gmail.com"},"license":"MIT","funding":"https://github.com/sponsors/guygubaby","homepage":"https://github.com/guygubaby/@bryce-loskie/signal#readme","repository":{"type":"git","url":"git+https://github.com/guygubaby/@bryce-loskie/signal.git"},"bugs":{"url":"https://github.com/guygubaby/@bryce-loskie/signal/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"devDependencies":{"@bryce-loskie/eslint-config":"^2.0.10","@types/node":"^18.11.18","bumpp":"^8.2.1","eslint":"^8.31.0","tsup":"^6.5.0","tsx":"^3.12.2","typescript":"^4.9.4","vitest":"^0.27.0"},"scripts":{"start":"tsx src/index.ts","dev":"pnpm build -- --watch","dev:play":"pnpm -r run dev","build":"tsup","release":"bumpp --commit --push --tag && pnpm publish --access public","lint":"eslint .","test":"vitest","typecheck":"tsc --noEmit"},"_id":"@bryce-loskie/signal@0.1.1","_integrity":"sha512-m8uCNP8DpDzpg+YHaD0K7LvpxYLU15TZOc49Ep3KfqWDx7N/clQf/H9UD7PyXj2vmT40Vj+XtvyOxVPPpYsyXQ==","_resolved":"/private/var/folders/1h/nzsjg61j4cxdqw5xlyjnzjtm0000gn/T/06a1822a50f49f17733068af281110ef/bryce-loskie-signal-0.1.1.tgz","_from":"file:bryce-loskie-signal-0.1.1.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-m8uCNP8DpDzpg+YHaD0K7LvpxYLU15TZOc49Ep3KfqWDx7N/clQf/H9UD7PyXj2vmT40Vj+XtvyOxVPPpYsyXQ==","shasum":"80f9c73a6e720453988e34aa6107d5dd433e484a","tarball":"https://registry.npmjs.org/@bryce-loskie/signal/-/signal-0.1.1.tgz","fileCount":6,"unpackedSize":8516,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZWNeRorBdQgaGCGfpiBOAyGJGhERZWkQhdJAaFl8exgIhALKtyX2l8uSZlrbOQPcoh5OGBBYmgZPUmLNIa1f+vT+t"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvqpfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpnQ/+LGWMiMY4mX38fjyNofdaHtNMVP3Vo9EKkSZwenjMDqGZqlyM\r\n4saCPjhlKyEHZOE8Bp51s9G1fiLPKAChASgY+yCgrqFJ4L/9tzPmedPwTmeG\r\npR0gJP95Cf/y15IjXS3lBMmx1XaB+DHpuVnnqpmjMGvUG5OZ23e0he6n6i+t\r\n+34w2UTYDQgzR31wz/2SMPk+F7kRe95lSWgnHoJ3y/wC6I1t+cUAoLqvga34\r\nxvExIK/1nHkPKYAtXDmKrGFXImzMe6Z/1WzvYKvg+KM0kh+x00GsIE6XWfnh\r\nDiWrv+7mjrpW7jcB+MLk6Ka1mPPBzB3xDGbIDH9wN5zW+f/A4vTHnTm6i6ue\r\nnZs6PKDWjwNgmKOpi0pMzxG7wCnRzSqrrgld5RpCYlD/+M06Ut0Zq1BzogcE\r\nEFpUzTlHK70L20dcGrsNzxRBJjEtd7ShKBwNuOFPzGwCfxUNQpI2tXqbWbT/\r\ne6rtpncIlSkFf+VGD5e/o8K3rH+1bZhecJXoVxaNFUK070ubZm7YjaJ4XzKl\r\nYagRSnOQhiU4Cnz4Oss+9YzGeCE0xWz3/6PY/UFJICkxYF950OSYPi97ab1Y\r\nCe7INfa1P++Je0aaxap6aTL1nbdxuqCjjg/Lj5r9tNyBeZ/SYeqw7poQuyrS\r\n0hnLNHCzhBgBHvpOY6NqDVu5EA0kgNQ8yoI=\r\n=/83V\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guygubaby","email":"1907004005@qq.com"},"directories":{},"maintainers":[{"name":"guygubaby","email":"1907004005@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signal_0.1.1_1673439839454_0.25053181411542025"},"_hasShrinkwrap":false},"0.1.2":{"name":"@bryce-loskie/signal","version":"0.1.2","packageManager":"pnpm@7.24.2","description":"simple signal implementation","author":{"name":"guygubaby","email":"guygubaby@gmail.com"},"license":"MIT","funding":"https://github.com/sponsors/guygubaby","homepage":"https://github.com/guygubaby/@bryce-loskie/signal#readme","repository":{"type":"git","url":"git+https://github.com/guygubaby/@bryce-loskie/signal.git"},"bugs":{"url":"https://github.com/guygubaby/@bryce-loskie/signal/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"devDependencies":{"@bryce-loskie/eslint-config":"^2.0.10","@types/node":"^18.11.18","bumpp":"^8.2.1","eslint":"^8.31.0","tsup":"^6.5.0","tsx":"^3.12.2","typescript":"^4.9.4","vitest":"^0.27.0"},"scripts":{"start":"tsx src/index.ts","dev":"pnpm build -- --watch","dev:play":"pnpm -r run dev","build":"tsup","release":"bumpp --commit --push --tag && pnpm publish --access public","lint":"eslint .","test":"vitest","typecheck":"tsc --noEmit"},"_id":"@bryce-loskie/signal@0.1.2","_integrity":"sha512-ko1j+uLYdgNYTdi6bQ9K6pkJIp51lwqy5Gtzp3ikOMxQfVsBPeWuerXF+uGOVVXP92THn+rH1lFT3yZ45+cWGQ==","_resolved":"/private/var/folders/1h/nzsjg61j4cxdqw5xlyjnzjtm0000gn/T/5b607ff1a8d4c8b273129c9d5dc19d32/bryce-loskie-signal-0.1.2.tgz","_from":"file:bryce-loskie-signal-0.1.2.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ko1j+uLYdgNYTdi6bQ9K6pkJIp51lwqy5Gtzp3ikOMxQfVsBPeWuerXF+uGOVVXP92THn+rH1lFT3yZ45+cWGQ==","shasum":"add1e37053b41bcafc4bbaf93ff18ba8369d412c","tarball":"https://registry.npmjs.org/@bryce-loskie/signal/-/signal-0.1.2.tgz","fileCount":6,"unpackedSize":8964,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWN4EAY6xD0+6rPokWmEbMtA9SlfqQc61x2IZEAsujrAiARIiZ5LkmVgfZKNz+u2G2PHwOK3CvSHPUSivkNpjqZIg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvqyMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrudg/9HtHpmUoDOWw6RHbyW6SEMIWGVszdny3fYSWmUsaMOiX98kZf\r\nvta2Nt7nBNn3c8tCcNHhoUpW11Jg/TFzi1vuDDHd9eYEroBSYqMPR1omnYM2\r\nwdcmscYtdd7p0mUyY97KJ6SjVf02LU/gZxOmsWgA3zlrpNedBxSedubGOiLm\r\nhswhSpZW5OWSe4m13z6VekJgstNwYe7ylXqUm3wcK6QfRt0HgqQlWfyoCAJ5\r\nJOzHRG3u+5Dw2P1OfNC4ktlyyDEY1aWB4pEHK7TewppEAlUtKL9yvJy8papB\r\n5uAKrWqcvqQ3FHtHTRr42NNFaKPASSTvMsaqRwTskXXdnNm7TL/EaA8Sxtv9\r\nY7Rbomjpdbsy3jfkaXK69qPvAgMUg+I6IrsC1umcAHWhO/k7J30HI+bG2olY\r\nsMcAmexZDNcWdpz+7RgNC7pQiRy1hyGeBnbqmZn9xCOzCbc31+1BGR04DJgG\r\niHic80Q60kW8oh7jMgvA1aYQS8J3Wo5eLRfGq3RodDGGNbLFA/qb0hI1I3BF\r\nTCrWNsCDKKGuEVZYXyqfhLXmJ2oodFyLevU5ond4jJEHg8CzgZEfZ3vHlmGT\r\nfauCAyL+PUAwPt3IN3GITIuYu7RKZJeFqO1qDtvuFweVTCxMjCFPFHU0mRel\r\nPjIE+wFA3QVLk/WLeP4scPz8FkVu7xdLhWA=\r\n=pcFV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guygubaby","email":"1907004005@qq.com"},"directories":{},"maintainers":[{"name":"guygubaby","email":"1907004005@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signal_0.1.2_1673440396320_0.9026842045692922"},"_hasShrinkwrap":false},"0.1.3":{"name":"@bryce-loskie/signal","version":"0.1.3","packageManager":"pnpm@7.24.2","description":"simple signal implementation","author":{"name":"guygubaby","email":"guygubaby@gmail.com"},"license":"MIT","funding":"https://github.com/sponsors/guygubaby","homepage":"https://github.com/guygubaby/signal#readme","repository":{"type":"git","url":"git+https://github.com/guygubaby/signal.git"},"bugs":{"url":"https://github.com/guygubaby/signal/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"devDependencies":{"@bryce-loskie/eslint-config":"^2.0.10","@types/node":"^18.11.18","bumpp":"^8.2.1","eslint":"^8.31.0","tsup":"^6.5.0","tsx":"^3.12.2","typescript":"^4.9.4","vitest":"^0.27.0"},"scripts":{"start":"tsx src/index.ts","dev":"pnpm build -- --watch","dev:play":"pnpm -r run dev","build":"tsup","release":"bumpp --commit --push --tag && pnpm publish --access public","lint":"eslint .","test":"vitest","typecheck":"tsc --noEmit"},"_id":"@bryce-loskie/signal@0.1.3","_integrity":"sha512-hLnkO0qnmz46zRK1lUD85pCRe3XLQ78B0lQjKK8ViLlHd6CP7DaklmVY4LbKBXpPLQpgy1fT/6hpjVjQKj8q3w==","_resolved":"/private/var/folders/1h/nzsjg61j4cxdqw5xlyjnzjtm0000gn/T/e0219ed5a66e94cbc40acad0e7c5e06d/bryce-loskie-signal-0.1.3.tgz","_from":"file:bryce-loskie-signal-0.1.3.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-hLnkO0qnmz46zRK1lUD85pCRe3XLQ78B0lQjKK8ViLlHd6CP7DaklmVY4LbKBXpPLQpgy1fT/6hpjVjQKj8q3w==","shasum":"c054de6da69eb7e66b103d575e056c6e52c061c0","tarball":"https://registry.npmjs.org/@bryce-loskie/signal/-/signal-0.1.3.tgz","fileCount":6,"unpackedSize":8889,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzx9+t1QYpiOXLDFx70585c03oRBxPDaEKXJuWnyATPwIgX7f5d32Vwe5AFPn8e/CwKZ0kb43YmBcxppLKDhH3cBc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvq09ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEpQ/+JUtJAZDb27Ecp2va5G5VrHj8ABAHU06q4YXKSb0fE3GwYSt5\r\nVMm7W8xehxxHlmOpa+IeExdEpgdjCupTEPjojE9KaKYLZSYKfN2kqxXKmPJ7\r\nOec0SC6jjBDqDMETl0yLzWUm2m8RlHGo2dLDE7oLEj7+qmbauv8b5Q3lqMhb\r\ni/3q83vTmlcjBU4B9kxuCLeR9WI8oM+uing5FsfOftskG8hoCpl+DxVWLrWC\r\n18wQ1r1WHjs7CVzoIF9TDV7077n40bBr0/XA6dbHEE/IDpJLN6KEXKiiL+tk\r\neKBu4qSMUknB20BvlYHJV6kl6YZ0zfHWWQqnv4QKgUXqzk0fG518dzKJ8/Ee\r\nZd16ppePPS2fFZ2MmBlMRCAToracSElcMWPl7tIkOx7lh7tBDgbcJ9XMmg5I\r\nyE05fsiTlA3s+7GBx42mcJBFph/pzXrugxNsVSsfQsthxpJL6AfiStS+dE8x\r\nYvIkftVfq+WJHL3icR/A6axrqBkZCVyFsCYGTGuehqLAkwAY8MkX1NCRRKsU\r\nqLLUmj8Bjn/y8GblAFak7f0mkfxc3VlYFvq2Nz3yRB/Nb9+lxLLeZws0/Gos\r\n9nmxXinQ2co916MSJO7H5BwC4sT7OWw0wIQorWnV+5ZkSzBt2eSO5AEgDnu3\r\nvZlaxjAnH1JuqVvArTNlQtuDVMjYvq4vBk4=\r\n=LwG9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guygubaby","email":"1907004005@qq.com"},"directories":{},"maintainers":[{"name":"guygubaby","email":"1907004005@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signal_0.1.3_1673440573347_0.903729196546271"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-11T12:14:33.387Z","0.1.0":"2023-01-11T12:14:33.607Z","modified":"2023-01-11T12:36:13.636Z","0.1.1":"2023-01-11T12:23:59.671Z","0.1.2":"2023-01-11T12:33:16.495Z","0.1.3":"2023-01-11T12:36:13.538Z"},"maintainers":[{"name":"guygubaby","email":"1907004005@qq.com"}],"description":"simple signal implementation","homepage":"https://github.com/guygubaby/signal#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/guygubaby/signal.git"},"author":{"name":"guygubaby","email":"guygubaby@gmail.com"},"bugs":{"url":"https://github.com/guygubaby/signal/issues"},"license":"MIT","readme":"# @bryce-loskie/signal\n\n[![NPM version](https://img.shields.io/npm/v/@bryce-loskie/signal?color=a1b858&label=)](https://www.npmjs.com/package/@bryce-loskie/signal)\n\n## Get Started\n\n```bash\npnpm i @bryce-loskie/signal\n```\n\n## Usage\n\n```ts\nimport { computed, createEffect, createSignal } from '@bryce-loskie/signal'\n\nfunction setupCounter(element: HTMLButtonElement) {\n  const counter = createSignal(0)\n  const double = computed(() => counter.value * 2)\n\n  createEffect(() => {\n    element.innerHTML = `count is ${counter.value}, double is ${double.value}`\n  })\n\n  element.addEventListener('click', () => {\n    counter.value++\n  })\n}\n```\n\n## License\n\n[MIT](./LICENSE) License © 2023 [guygubaby](https://github.com/guygubaby)\n","readmeFilename":"README.md"}