{"_id":"@amber.js/core","_rev":"7-658c7d3d885d728d1842f6291923ea39","name":"@amber.js/core","dist-tags":{"latest":"0.5.8"},"versions":{"0.5.3-rc":{"name":"@amber.js/core","version":"0.5.3-rc","author":"","license":"MIT","_id":"@amber.js/core@0.5.3-rc","homepage":"https://github.com/alexzvn/amber#readme","bugs":{"url":"https://github.com/alexzvn/amber/issues"},"dist":{"shasum":"75d1bc5ee73b2de1dfa01d4f1f5529847b5735b1","tarball":"https://registry.npmjs.org/@amber.js/core/-/core-0.5.3-rc.tgz","fileCount":7,"integrity":"sha512-zORYlUj7WRZAiEHbQ3SWRWC6Q9tnVVwrL8kpp6un7gDGrQgXMI+FJd7tl7P/mKMLAW6wwH6tvXI4Wq3VTHDjFw==","signatures":[{"sig":"MEYCIQCQoJrxJ/dO5HCWnQGl9SAbepK5g2Qgu9gjUi7cS/0wcQIhAIlhSWoB0PcscwesPF7GspI8l6WsnOPdpjzFVCSzmfBI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66704},"type":"module","module":"index.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.d.ts"}}},"gitHead":"1434d56e808472f962cc87909b51b357fc19ab39","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup-node"},"_npmUser":{"name":"alexzvn","email":"boytunghc@gmail.com"},"repository":{"url":"git+https://github.com/alexzvn/amber.git","type":"git","directory":"packages/amber"},"_npmVersion":"10.2.3","description":"To install dependencies:","directories":{},"_nodeVersion":"18.19.0","dependencies":{"mitt":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.5.3-rc_1719278900194_0.3949275699672088","host":"s3://npm-registry-packages"}},"0.5.3":{"name":"@amber.js/core","version":"0.5.3","author":"","license":"MIT","_id":"@amber.js/core@0.5.3","homepage":"https://github.com/alexzvn/amber#readme","bugs":{"url":"https://github.com/alexzvn/amber/issues"},"dist":{"shasum":"47b9114ea2ed3d9f01f4aa1b3662de87bce87c59","tarball":"https://registry.npmjs.org/@amber.js/core/-/core-0.5.3.tgz","fileCount":7,"integrity":"sha512-a6V72/4tKJaS+URvExwWRtWb1QQTt4KIv7iuRNSuj+bAb4IihTQaCmcWnB7d8CwWdCDyxIU9UBfg5LDS61mf/g==","signatures":[{"sig":"MEUCIHfPlDG+06dPOBkpcGVMI37ezbRnOAPpSl5S0n88vs8uAiEAh1dgyTisaT60i+NJxeUt9pCr2ToQ/AdsApT0JHN21bU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66701},"type":"module","module":"index.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.d.ts"}}},"gitHead":"5e1fc1036cf84c5f2cd4f7c4f8743b0e45dcfb1e","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup-node"},"_npmUser":{"name":"alexzvn","email":"boytunghc@gmail.com"},"repository":{"url":"git+https://github.com/alexzvn/amber.git","type":"git","directory":"packages/amber"},"_npmVersion":"10.2.3","description":"To install dependencies:","directories":{},"_nodeVersion":"18.19.0","dependencies":{"mitt":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.5.3_1719383987193_0.6157420958647599","host":"s3://npm-registry-packages"}},"0.5.4":{"name":"@amber.js/core","version":"0.5.4","author":"","license":"MIT","_id":"@amber.js/core@0.5.4","maintainers":[{"name":"alexzvn","email":"boytunghc@gmail.com"}],"homepage":"https://github.com/alexzvn/amber#readme","bugs":{"url":"https://github.com/alexzvn/amber/issues"},"dist":{"shasum":"759c2ae636500fb8c204f0b6694303f08d15e516","tarball":"https://registry.npmjs.org/@amber.js/core/-/core-0.5.4.tgz","fileCount":7,"integrity":"sha512-/1x2Wkr8fSX4Ea91Iu5y2Xf/jAX37sosoHxrRJkLEEJdLmYH93aulIy1CbqPeC/g8NSekrtmQnK1wZkhAYjHXA==","signatures":[{"sig":"MEUCIQCzZvWbbHiLlmvRe0oH5v0LHsc/j8aI3+I0wSjUpG5zegIgAPANHAbE6YI0t7SzNGzD7Ffu86PLQxeyStE0PD2LHIo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66703},"type":"module","module":"index.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.d.ts"}}},"gitHead":"efd70f932f8e07a8394273a12ae1220e6cfcb2e8","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup-node"},"_npmUser":{"name":"alexzvn","email":"boytunghc@gmail.com"},"repository":{"url":"git+https://github.com/alexzvn/amber.git","type":"git","directory":"packages/amber"},"_npmVersion":"10.2.3","description":"To install dependencies:","directories":{},"_nodeVersion":"18.19.0","dependencies":{"mitt":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.5.4_1720168706031_0.35799792014371423","host":"s3://npm-registry-packages"}},"0.5.5":{"name":"@amber.js/core","version":"0.5.5","author":{"name":"Alexzvn"},"license":"MIT","_id":"@amber.js/core@0.5.5","maintainers":[{"name":"alexzvn","email":"boytunghc@gmail.com"}],"homepage":"https://github.com/alexzvn/amber#readme","bugs":{"url":"https://github.com/alexzvn/amber/issues"},"dist":{"shasum":"81d16069b9069dff8a71af18e025464edd9a4d2a","tarball":"https://registry.npmjs.org/@amber.js/core/-/core-0.5.5.tgz","fileCount":7,"integrity":"sha512-vBkSJMHKNQX5I7Jfi96Ds0yH4bmnPGFvAKtIPSRMKLuFUafHzKE/v9WcXfd4oOwIk5mEYgsRUniPJgbHOQBRnQ==","signatures":[{"sig":"MEUCIEDZs0rPDgfue+kQkiCo1ReFD8UYHCiekYQk3QwuslReAiEAzhIOfHrhhdW4s7IQ0nilmn4B/lR4tjWwjDc4JYJq9p4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76634},"type":"module","module":"index.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.d.ts"}}},"gitHead":"c8ec88b521452bf03a60c16c55ee0cb2a5c833fe","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup-node"},"_npmUser":{"name":"alexzvn","email":"boytunghc@gmail.com"},"repository":{"url":"git+https://github.com/alexzvn/amber.git","type":"git","directory":"packages/amber"},"_npmVersion":"10.2.3","description":"To install dependencies:","directories":{},"_nodeVersion":"18.19.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.5.5_1720874815598_0.6369832688767925","host":"s3://npm-registry-packages"}},"0.5.6":{"name":"@amber.js/core","version":"0.5.6","author":{"name":"Alexzvn"},"license":"MIT","_id":"@amber.js/core@0.5.6","maintainers":[{"name":"alexzvn","email":"boytunghc@gmail.com"}],"homepage":"https://github.com/alexzvn/amber#readme","bugs":{"url":"https://github.com/alexzvn/amber/issues"},"dist":{"shasum":"058b74d9ebdd63341190e110f511308477c5580f","tarball":"https://registry.npmjs.org/@amber.js/core/-/core-0.5.6.tgz","fileCount":7,"integrity":"sha512-OhSjSmR9lOIHhjxRnqbwmipclb3i04i7gqUX8eBtBAvaXKxx3/ajU/YJnQt+sRBE1Ok1CDVfO1Uogc2CqguOiQ==","signatures":[{"sig":"MEYCIQD4N2b10lZ/m6+vvUe2JAv5Q3WSNQb5dASrxWqx5fWXTAIhAMvu4av8yLiRxRXBIRRzzLF0RhP3g9qlWAp059sAVjSq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77721},"type":"module","module":"index.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.d.ts"}}},"gitHead":"7e394a3ce9cb67edd0e053ecc5546e079009b025","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup-node","prepare":"tsup-node"},"_npmUser":{"name":"alexzvn","email":"boytunghc@gmail.com"},"repository":{"url":"git+https://github.com/alexzvn/amber.git","type":"git","directory":"packages/amber"},"_npmVersion":"10.5.0","description":"To install dependencies:","directories":{},"_nodeVersion":"20.12.0","dependencies":{"mitt":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.5.6_1721429740681_0.8138848333499467","host":"s3://npm-registry-packages"}},"0.5.7":{"name":"@amber.js/core","version":"0.5.7","author":{"name":"Alexzvn"},"license":"MIT","_id":"@amber.js/core@0.5.7","maintainers":[{"name":"alexzvn","email":"boytunghc@gmail.com"}],"homepage":"https://github.com/alexzvn/amber#readme","bugs":{"url":"https://github.com/alexzvn/amber/issues"},"dist":{"shasum":"74f530736dd5a89fbeb7b6124f084ab5a2704e2c","tarball":"https://registry.npmjs.org/@amber.js/core/-/core-0.5.7.tgz","fileCount":7,"integrity":"sha512-A7FWCHVevXFubFM3FyQAR3pxv8mAgm1tHgCBo8i8NIQH6/ygw2HuQbXW2Kkf4wIBgZu76UirsigvhrX8G1Iviw==","signatures":[{"sig":"MEQCIHY5N9dg7tngUTEnDuZxJSP2786gwJG+sG6RUlrjnFC5AiBkMDnYyDsK/lPrBZAlQpoLCsbtAn7ykpJY682ygULDug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91262},"type":"module","module":"index.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.d.ts"}}},"gitHead":"ef0155853144de9c009e0fe466da885be8bd8e72","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup-node","prepare":"tsup-node"},"_npmUser":{"name":"alexzvn","email":"boytunghc@gmail.com"},"repository":{"url":"git+https://github.com/alexzvn/amber.git","type":"git","directory":"packages/amber"},"_npmVersion":"10.5.0","description":"To install dependencies:","directories":{},"_nodeVersion":"20.12.0","dependencies":{"mitt":"^3.0.1","throttle-debounce":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","@types/bun":"latest","@types/chrome":"^0.0.270","@types/throttle-debounce":"^5.0.2"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.5.7_1734101245990_0.06352830367089624","host":"s3://npm-registry-packages-npm-production"}},"0.5.8":{"name":"@amber.js/core","version":"0.5.8","type":"module","module":"./dist/index.js","types":"./dist/index.d.ts","main":"./dist/index.cjs","scripts":{"prepare":"tsup-node","build":"tsup-node","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"mitt":"^3.0.1","throttle-debounce":"^5.0.2"},"devDependencies":{"@types/bun":"latest","@types/chrome":"^0.0.270","@types/throttle-debounce":"^5.0.2","tsup":"^8.1.0"},"peerDependencies":{"typescript":"^5.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.d.ts"}}},"repository":{"type":"git","url":"git+https://github.com/alexzvn/amber.git","directory":"packages/amber"},"author":{"name":"Alexzvn"},"license":"MIT","bugs":{"url":"https://github.com/alexzvn/amber/issues"},"homepage":"https://github.com/alexzvn/amber#readme","gitHead":"ddd8e459db2c04b93f68f95e71f7f043e8cd92a4","_id":"@amber.js/core@0.5.8","description":"Runtime library for Chrome MV3 extensions built with [Amber.js](https://amber.alexzvn.me) — typed cross-context messaging, a promise wrapper over `chrome.storage`, DOM helpers for content scripts, a bounded work queue, and hashing.","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-BMyPOsbXmB36pxfQTHBPaTarhZPKhra2i0y+K4vkIcJklN0V/k/LGfbbOt+FNT1r4yIMEG54Dn44AjYzHeVVYg==","shasum":"b55e68fc1f1611c511b0661ec5cfb5bae0f14099","tarball":"https://registry.npmjs.org/@amber.js/core/-/core-0.5.8.tgz","fileCount":8,"unpackedSize":96920,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGyCG/O4fQxezIrMwvMDJqDyReL+f0x3nYU/9t9s4VUDAiEA9MdqvL8mz4wnzpO3A0HolimBecuZUGykHe32irtpuRA="}]},"_npmUser":{"name":"alexzvn","email":"boytunghc@gmail.com"},"directories":{},"maintainers":[{"name":"alexzvn","email":"boytunghc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.5.8_1786339268813_0.5996441467778233"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-25T01:28:20.061Z","modified":"2026-08-10T05:21:09.112Z","0.5.3-rc":"2024-06-25T01:28:20.364Z","0.5.3":"2024-06-26T06:39:47.342Z","0.5.4":"2024-07-05T08:38:26.192Z","0.5.5":"2024-07-13T12:46:55.762Z","0.5.6":"2024-07-19T22:55:40.839Z","0.5.7":"2024-12-13T14:47:26.190Z","0.5.8":"2026-08-10T05:21:08.963Z"},"bugs":{"url":"https://github.com/alexzvn/amber/issues"},"author":{"name":"Alexzvn"},"license":"MIT","homepage":"https://github.com/alexzvn/amber#readme","repository":{"type":"git","url":"git+https://github.com/alexzvn/amber.git","directory":"packages/amber"},"description":"Runtime library for Chrome MV3 extensions built with [Amber.js](https://amber.alexzvn.me) — typed cross-context messaging, a promise wrapper over `chrome.storage`, DOM helpers for content scripts, a bounded work queue, and hashing.","maintainers":[{"name":"alexzvn","email":"boytunghc@gmail.com"}],"readme":"# @amber.js/core\n\nRuntime library for Chrome MV3 extensions built with\n[Amber.js](https://amber.alexzvn.me) — typed cross-context messaging, a promise\nwrapper over `chrome.storage`, DOM helpers for content scripts, a bounded work\nqueue, and hashing.\n\n```bash\nnpm install @amber.js/core\n```\n\n```ts\nimport { Messaging } from '@amber.js/core'\n\nconst channel = new Messaging()\n  .handle('math.add', (a: number, b: number) => a + b)\n\nexport type BackgroundChannel = typeof channel\n```\n\n## Documentation\n\n- [Messaging](https://amber.alexzvn.me/guide/api/messaging)\n- [Storage](https://amber.alexzvn.me/guide/api/storage)\n- [DOM & Utilities](https://amber.alexzvn.me/guide/api/dom-utilities)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}