{"_id":"@adbl/signals","_rev":"5-d700f4f8c3a9059619cab36d989c45f3","name":"@adbl/signals","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@adbl/signals","version":"0.0.1","keywords":["reactive","signals","events"],"author":{"email":"NAME"},"license":"MIT","_id":"@adbl/signals@0.0.1","maintainers":[{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"}],"homepage":"https://github.com/adebola-io/bullet#readme","bugs":{"url":"https://github.com/adebola-io/bullet/issues"},"dist":{"shasum":"5b0e81353e9abb9e25ce76876c76c437af417819","tarball":"https://registry.npmjs.org/@adbl/signals/-/signals-0.0.1.tgz","fileCount":14,"integrity":"sha512-a0seqvTvxoXqyDS2Vy566CSZZ8KBiAmgzbKkPzwMPLwJYjszCz5LQgWWBl1In7nVo9pS4drXZ6Mv7+o9YlK8Dg==","signatures":[{"sig":"MEQCIBDYtf2IvCKar1OLu53XgH4yzkU4rmksPge/KUI0EY5oAiBDUKP6IhCrV/rKF2KqKWnyTFtYMZ7bToiE76/sEstxlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129591},"main":"index.js","type":"module","module":"./index.js","gitHead":"981e9b68e9740cfcce1af82965751c734871f1ca","private":false,"scripts":{"test":"vitest"},"typings":"./types/index.d.ts","_npmUser":{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"},"repository":{"url":"git+https://github.com/adebola-io/bullet.git","type":"git"},"_npmVersion":"10.5.2","description":"A simple implementation of reactive signals","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.0","typescript":"^5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/signals_0.0.1_1716033526319_0.6948821643474246","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@adbl/signals","version":"0.0.2","keywords":["reactive","signals","events"],"author":{"email":"NAME"},"license":"MIT","_id":"@adbl/signals@0.0.2","maintainers":[{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"}],"homepage":"https://github.com/adebola-io/signals#readme","bugs":{"url":"https://github.com/adebola-io/signals/issues"},"dist":{"shasum":"ec08c25cd681afb22edd67e6cab821b579fda118","tarball":"https://registry.npmjs.org/@adbl/signals/-/signals-0.0.2.tgz","fileCount":14,"integrity":"sha512-laxICmNYw5ugeGOYjWXoK39Sw/fFALwGsda4bfARy5F70XcFN5XAgm+OZKBZDC15UHPIiaiXfS30PcF1tOIiNg==","signatures":[{"sig":"MEUCIQD14lIlktLotT+wmpMnkV6BuHgbidqhxf+foV7sIGb0ggIgZWi3fhlaYJ2nB9fwED07rcps7Puaggt/zIFVTmYbezc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129600},"main":"index.js","type":"module","module":"./index.js","gitHead":"59a42030d3d880dc257a445c52a50e539009c6c6","private":false,"scripts":{"test":"vitest"},"typings":"./types/index.d.ts","_npmUser":{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"},"repository":{"url":"git+https://github.com/adebola-io/signals.git","type":"git"},"_npmVersion":"10.5.2","description":"A simple implementation of reactive signals","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.0","typescript":"^5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/signals_0.0.2_1716033879940_0.908715964077859","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@adbl/signals","version":"0.0.3","keywords":["reactive","signals","events"],"author":{"email":"NAME"},"license":"MIT","_id":"@adbl/signals@0.0.3","maintainers":[{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"}],"homepage":"https://github.com/adebola-io/signals#readme","bugs":{"url":"https://github.com/adebola-io/signals/issues"},"dist":{"shasum":"bd5367d4852dd0fed5439b40ffd2ca150545440d","tarball":"https://registry.npmjs.org/@adbl/signals/-/signals-0.0.3.tgz","fileCount":14,"integrity":"sha512-U97RHWIuHAwN4kgJ9n7wAtjHYfHMTVo0pDmPfs7JA/sa7Ayyb7uGbJksRs1CQL3ld/JHunzeG9SXSqnOOyUrXQ==","signatures":[{"sig":"MEUCIQDDBrpl8XN3eTH/dgzTNLlYen9g1Cl1heTDWhqxO0pxogIgZDFIqBJ7Ee9NP0WK7cz7qwFYj8yGe3Kk3JiQBX0HRyM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62942},"main":"index.js","type":"module","module":"./index.js","gitHead":"cf432a38cb60e5fa990c0a289e12031117cfb2ea","private":false,"scripts":{"test":"vitest","types":"tsc --p jsconfig.json"},"typings":"./types/index.d.ts","_npmUser":{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"},"repository":{"url":"git+https://github.com/adebola-io/signals.git","type":"git"},"_npmVersion":"10.2.4","description":"A simple implementation of reactive signals","directories":{},"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.0","typescript":"^5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/signals_0.0.3_1718615979190_0.959340182997648","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@adbl/signals","version":"0.0.4","keywords":["reactive","signals","events"],"author":{"name":"Sefunmi Adebola Akomolafe"},"license":"MIT","_id":"@adbl/signals@0.0.4","maintainers":[{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"}],"homepage":"https://github.com/adebola-io/signals#readme","bugs":{"url":"https://github.com/adebola-io/signals/issues"},"dist":{"shasum":"eb1e36c62a2338aa94c0ad6e771ada1569183bd9","tarball":"https://registry.npmjs.org/@adbl/signals/-/signals-0.0.4.tgz","fileCount":14,"integrity":"sha512-jVsz9fI/huA/tIkofH5EZwQBg4iTd3uTwhZGgwGtR46ae8X2lHYmSO3BvEBaHKwmF55mj/IrGZ0Kn2FU1wHRUA==","signatures":[{"sig":"MEUCIHcBZ868pN437KQ6T3ePOnj3I2Q5hj7VB+hvEGM0POEMAiEA+VphAE7c2UflOiIKbZj9HVjZwE0ziV9lH3Za/qmdbyg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66581},"main":"index.js","type":"module","module":"./index.js","gitHead":"34938ade1487a8634f4ee3088d7d2380d80ee4a4","private":false,"scripts":{"test":"vitest","types":"tsc --p jsconfig.json"},"typings":"./types/index.d.ts","_npmUser":{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"},"repository":{"url":"git+https://github.com/adebola-io/signals.git","type":"git"},"_npmVersion":"10.8.1","description":"A simple implementation of reactive signals","directories":{},"_nodeVersion":"22.4.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.0","typescript":"^5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/signals_0.0.4_1720575132784_0.09362404617176234","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@adbl/signals","version":"0.0.5","keywords":["reactive","signals","events"],"author":{"name":"Sefunmi Adebola Akomolafe"},"license":"MIT","_id":"@adbl/signals@0.0.5","maintainers":[{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"}],"homepage":"https://github.com/adebola-io/signals#readme","bugs":{"url":"https://github.com/adebola-io/signals/issues"},"dist":{"shasum":"617e258ca430dcef968026a95a63c5ffa44315f4","tarball":"https://registry.npmjs.org/@adbl/signals/-/signals-0.0.5.tgz","fileCount":15,"integrity":"sha512-/R054Oun5zUsYVIp3UhlGGC1pUdPqbL1AEyS8QxsZj4P7VJlw+lDscGWEwNupGENqsaYfciNDHpHpGEzol/WWg==","signatures":[{"sig":"MEYCIQDQt1YT+ubYFnYwaQLPgUC4rD/hF9p56E4PIEHWq9XoiAIhALpCUhbFLOAe5a3kzc71SWPCOjZquVveupl9BoYpMtfW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166216},"main":"index.js","type":"module","module":"./index.js","gitHead":"e57a7e9d0c0d0c734f8648dd160a49a4622f1745","private":false,"scripts":{"test":"vitest","types":"tsc --p jsconfig.json"},"typings":"./types/index.d.ts","_npmUser":{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"},"repository":{"url":"git+https://github.com/adebola-io/signals.git","type":"git"},"_npmVersion":"10.8.1","description":"A simple implementation of reactive signals","directories":{},"_nodeVersion":"22.4.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.0","typescript":"^5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/signals_0.0.5_1720693634230_0.7376218578045759","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@adbl/signals","version":"0.0.6","description":"A simple implementation of reactive signals","main":"index.js","private":false,"type":"module","module":"./index.js","typings":"./types/index.d.ts","scripts":{"test":"vitest","types":"tsc --p jsconfig.json"},"repository":{"type":"git","url":"git+https://github.com/adebola-io/signals.git"},"keywords":["reactive","signals","events"],"author":{"name":"Sefunmi Adebola Akomolafe"},"license":"MIT","bugs":{"url":"https://github.com/adebola-io/signals/issues"},"homepage":"https://github.com/adebola-io/signals#readme","devDependencies":{"typescript":"^5.4.5","vitest":"^1.6.0"},"_id":"@adbl/signals@0.0.6","gitHead":"53fda8b0f1eedfbfdbf4dce5cf6bacc7cf36d33f","_nodeVersion":"22.4.1","_npmVersion":"10.8.1","dist":{"integrity":"sha512-ZLuTboDYT2S6KCIlaILWhDllioXLjHjg9J9MoP0lLNTrAxFVB71ds6XF4y02A72nqvEaGXef0oguQRxuekcr4A==","shasum":"059127b5dcf3ac7ac46b98204c63340ac18a37c7","tarball":"https://registry.npmjs.org/@adbl/signals/-/signals-0.0.6.tgz","fileCount":14,"unpackedSize":75582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKPK740CHzd/W6LX0O67ifxdBriAK0j/AVppbI5BQLTAiEArIQKyjdbcS4wRMltrCMq16jgB11xtDaGeqj+GKKoFY8="}]},"_npmUser":{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"},"directories":{},"maintainers":[{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signals_0.0.6_1721509265254_0.3414960696822147"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-18T11:58:46.254Z","modified":"2024-07-20T21:01:05.689Z","0.0.1":"2024-05-18T11:58:46.556Z","0.0.2":"2024-05-18T12:04:40.092Z","0.0.3":"2024-06-17T09:19:39.356Z","0.0.4":"2024-07-10T01:32:12.933Z","0.0.5":"2024-07-11T10:27:14.460Z","0.0.6":"2024-07-20T21:01:05.492Z"},"bugs":{"url":"https://github.com/adebola-io/signals/issues"},"author":{"name":"Sefunmi Adebola Akomolafe"},"license":"MIT","homepage":"https://github.com/adebola-io/signals#readme","keywords":["reactive","signals","events"],"repository":{"type":"git","url":"git+https://github.com/adebola-io/signals.git"},"description":"A simple implementation of reactive signals","maintainers":[{"name":"adebolaxyz","email":"adebolaakomolafe@gmail.com"}],"readme":"# signals\n\nsignals is a(nother) library that provides an implementation of signals in JavaScript. They allow the definition of data flows and propagate changes in a declarative manner.\n\n## Features\n\n- **Simple API**: signals has a straightforward API for creating and working with signals.\n- **Reactive Updates**: When a signal's value changes, all computations and side effects that depend on that signal are automatically updated.\n- **Composable**: Signals can be combined and transformed using built-in operators, enabling complex data flows.\n- **Lightweight**: signals has a small footprint and no external dependencies, making it easy to integrate into your projects.\n\n## Installation\n\nYou can install signals via npm:\n\n```shell\nnpm install @adbl/signals\n```\n\n## Usage\n\nHere's a basic example of how to use signals:\n\n```js\nimport { Signal } from '@adbl/signals';\n\n// Create a reactive signal\nconst count = Signal.source(0);\n\n// Derive a new signal based on the count signal\nconst doubledCount = Signal.derived(() => count.value * 2);\n\n// Subscribe to changes in the derived signal\ndoubledCount.createEffect((value) => {\n  console.log(`Doubled count: ${value}`);\n});\n\n// Update the original signal\ncount.value = 1; // Logs: \"Doubled count: 2\"\ncount.value = 3; // Logs: \"Doubled count: 6\"\n```\n\n# Contributing\n\nContributions are welcome!\n\n# License\n\nsignals is released under the MIT License.\n","readmeFilename":"README.md"}