{"_id":"@aniojs/event-emitter","_rev":"11-798f102ff94b911104516fe269e76201","name":"@aniojs/event-emitter","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@aniojs/event-emitter","version":"0.0.1","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.1","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"b8d7eb3287afd6af8cc6dfdd95d4a05cf621f3df","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.1.tgz","fileCount":12,"integrity":"sha512-8CYqZ0nvTJxIZLni/F0aE6unB560jFLtVrg3xDbVMfD6RAGgLe/Ec7FiqI8pHdw/+lTIdXtYIpvZZmW9V7qKSQ==","signatures":[{"sig":"MEUCIQDNj56WsTs40JwLj1bj6tUgbhDUq6BrdliKajBlfdxSnAIgF72ppJBYQ4pDOIinTWoBp8zsmEXGoiEzQ0kVBSDrznU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45074},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"bae26a9bac43c34185303f8c7adf95ff7715bdc1","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.1_1734716511765_0.12464434054385398","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@aniojs/event-emitter","version":"0.0.2","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.2","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"a37362c75d130b21620b71e3c80605a6d7c527fd","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.2.tgz","fileCount":12,"integrity":"sha512-Z3BWZgUxMnolNHHuVV6pNI3lteui7Seo0MdirbWTKw3AVN5XKVpG3DKNGGyTHWpyen9jli9uIXSqIqZ7M+VhEw==","signatures":[{"sig":"MEUCIAX2cd+/+pEe7V8wTtffkCeGoMaB3OAB2EH5TCVfmluaAiEAvANSJIG7IJgCOxH4TMWlMgdZt/S6kQICGQ8HQsq69Qc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47264},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"1b25d7d7d2535bd088f02a09bd9f6f6b242da2ea","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.2_1734774270019_0.43136122318682757","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@aniojs/event-emitter","version":"0.0.3","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.3","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"417aa2415d2b84954f211cb9f4d60857eb16fd1f","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.3.tgz","fileCount":12,"integrity":"sha512-UF29BB9A/fWXFgpik09W7vLScqm47/WUR/1RDJAI40uTs32oBTQT1+7aEMdgilJT2fno2MKhrH0hsWjoUgFsHQ==","signatures":[{"sig":"MEQCIEBLoKiEvndFHXZ1uXR8CrR+phYNF6bQsNU77EC8AF+EAiAhVabreOJjxtG6TQvi7nWmxtIkyIm0Ej7lYXrnzog88g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47110},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"a44fdcd7f0db9801fe6ee618643d1ea1b5ffcd4b","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.3_1734793644166_0.5031140305090334","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@aniojs/event-emitter","version":"0.0.4","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.4","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"6ad56ce31e23024987dcdee482f7a1616a941177","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.4.tgz","fileCount":12,"integrity":"sha512-7vmuznumvOoq3dwr5UA8ywFGroVmBFdL8iojksQ+0wlP5gPRda/3EjXfHqb2FubzdjxTX/VWHyQLcS/sqJeHmA==","signatures":[{"sig":"MEYCIQCWHK8sWfauT8eGt+x44t7ehOn8lQ15mEeG9lma7CH5SQIhAL7QaMbR/Ydcla96Q3dPQxkA9Y0+lBy/RCTrIvsmQmM0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47434},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"eaba8a11e8a64f692d0fd52675c443dc20cad6d6","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.4_1734793886196_0.5059852257285506","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@aniojs/event-emitter","version":"0.0.5","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.5","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"d3da1888b218b128790d5f40ec117f5965f8a475","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.5.tgz","fileCount":12,"integrity":"sha512-1Xg4cXp8Ck3ndKQ9+ANQ6XMP5wne/hxKqj/UpbJDAQdkTtNsDIMevju21fRYqk/cH3CTR/vI/lY8b4oIWPJYHQ==","signatures":[{"sig":"MEYCIQC2uukFe/9PPPcsP114t6dj1AtYumAjFoaO2ocE4cUhSwIhAMmFbpbQhtRFEGZDTZL40GxuIgELxEE4CYObzRUl/tih","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47449},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"59e44ead4db65f2c7bed5f179386758e9be6d076","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.5_1734794071124_0.6918459037458624","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@aniojs/event-emitter","version":"0.0.6","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.6","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"d79aeed27520410685e57c243fdbefcfb2997d15","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.6.tgz","fileCount":12,"integrity":"sha512-srtWXuJ+vwPXX9s2KAkENuk13UeCEamtQgJkfWLUBbZ3DrYDByWYSdBlGH4Hkc7lT24PDe1JjUIq7vYyCMqABA==","signatures":[{"sig":"MEYCIQCxYBddLwj8S6COAQ9Hol5IIpaXRbfjgw50Ln4EQMPicgIhAJTbDE0p7S+ITUat5MloRec2hBrCCvAOyfh/Z2i8lBo/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47686},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"94bc55e3849af9488ce12116a164f928e5a17c02","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.6_1734800117186_0.432622849906219","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@aniojs/event-emitter","version":"0.0.7","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.7","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"b31ef9c6949c304efe398684309d439d9f6128a8","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.7.tgz","fileCount":12,"integrity":"sha512-o+dX09DNFAAcRAOqol1olU5gXuEqvKjBl9/1B593lPLu7mRFcWbBLL36+NJRfvyOA9zxF/2/jtfeHiaIPEA3dg==","signatures":[{"sig":"MEUCIQC9bHB2xNQo6VP3y0JY3X0PzWo83wytF8PyTR5QoHC9aQIgO3TNUEerMoLouEA971iJJbR8s0ZZKTOS3O+L8BuZyBk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47524},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"f6fb2adbb0cd02c630cd5f11cfc89402309fb9ad","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.7_1734800223025_0.3905077723012176","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@aniojs/event-emitter","version":"0.0.8","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.8","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"23079b1bec5558dd2352c508634d81d21885d852","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.8.tgz","fileCount":12,"integrity":"sha512-KrWy6k6+7WNmGWOfB94B9vSv/6CRXJ16lXNZuvSCdBu7bf8aaI4lcgbUcYi/gZJUdMjLp58RTGd/D3cvbw+0Cg==","signatures":[{"sig":"MEYCIQDpI2CDp6yVchcw5GJlln7RALEsApuUuDlBWLHfwyn6SAIhAO8ryt7qyDkxZfmuFE6z4GsxWPJiZaSDzeiwhPETk6Nw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49279},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"6b0831445d69115fd3b33d0f324d28baebd9f0a5","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.2","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.8_1737666960729_0.20380175720716176","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@aniojs/event-emitter","version":"0.0.9","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.9","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"9fc64f50b7fd00f8a5836dfc39d7fd6aa60bc2a2","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.9.tgz","fileCount":12,"integrity":"sha512-zfHa+WN6/2Xez8kJKNoASfgtT00iLbHZAJv+V3gHsnYSBZI+EBECEbwzO29d/N+Romha/2rRdoERPZf4T75Y8w==","signatures":[{"sig":"MEUCIH/DxNeI+9UVNGJk0der/DFX7YeTJSEze8+DvWdoiEV6AiEA0DFj545z3BZTb9jdcdcUcY+ucRrJilh1o6s75e7FAEI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":48677},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"4c3d74658cb2590437f3742edb271dbcedda5ae0","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.2","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.9_1739864250672_0.9827765805830884","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@aniojs/event-emitter","version":"0.0.10","author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","_id":"@aniojs/event-emitter@0.0.10","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"homepage":"https://github.com/aniojs-org/event-emitter#readme","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"dist":{"shasum":"a83e3538d09375ec1c6439da9b4cffcd212e951e","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.0.10.tgz","fileCount":12,"integrity":"sha512-PD260pZMa7qEdddKkjOjTmUyaI6oWi4fCU30ZVIT4GtIfV9wgPASCES0FFp7hxEBGc3zDz5WSwZE/00rI2RYZw==","signatures":[{"sig":"MEUCIFiPIerpijADqOD4tHSfNLqqurNF8gCMXqrkqQOcQ2O7AiEA1soXgndYT9aaaTeUp7Y2nAeUBODiD0bYoHu49v1qEtI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49153},"type":"module","engines":{"node":">=22.7.x"},"exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"gitHead":"028c8f763f8288dc3354a3097a6fa5729a1657f2","scripts":{"prepare":"fourtune ."},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"repository":{"url":"git+https://github.com/aniojs-org/event-emitter.git","type":"git"},"_npmVersion":"10.9.2","description":"A simple EventEmitter.","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"fourtune":"^0.30000.1","@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^0.31010.0"},"peerDependencies":{"@types/node":">=22.7.x"},"_npmOperationalInternal":{"tmp":"tmp/event-emitter_0.0.10_1739868379014_0.8988498329292962","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@aniojs/event-emitter","version":"0.1.0","author":{"name":"Anio Software","email":"info@anio.software"},"description":"A simple EventEmitter.","license":"MIT","exports":{".":{"types":"./dist/default/index.min.d.mts","import":"./dist/default/index.min.mjs"}},"repository":{"type":"git","url":"git+https://github.com/aniojs-org/event-emitter.git"},"type":"module","devDependencies":{"@fourtune/core":"^0.1101.0","@fourtune/realm-js":"^1.0.5","fourtune":"^0.30000.1"},"peerDependencies":{"@types/node":">=22.7.x"},"scripts":{"prepare":"fourtune ."},"engines":{"node":">=22.7.x"},"_id":"@aniojs/event-emitter@0.1.0","gitHead":"287bccf390b94f7374f91786a4da8735ee69eed5","bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"homepage":"https://github.com/aniojs-org/event-emitter#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-hgXd+1vNg+UEGDMA+cOztAN1Qa0+mL0Sz8am7M165H/WSyZAFNYJiLU94oHglMO7ZFW52lpGo4kJirY63PIqdA==","shasum":"44d03f9e7b4b79544a029287197318a113f3bb5e","tarball":"https://registry.npmjs.org/@aniojs/event-emitter/-/event-emitter-0.1.0.tgz","fileCount":12,"unpackedSize":48884,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aniojs%2fevent-emitter@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDa6k7ow7CL/CrtNG2HpmpujMoqhBpHIS83MAp8C5OGIAiEA5+yV/24qKo0TA6C1TCxaaQvQsC9b+ER6CEviLyXaEeE="}]},"_npmUser":{"name":"exory2024","email":"exory@anio.software"},"directories":{},"maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/event-emitter_0.1.0_1743174312539_0.5838386032499305"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-20T17:41:51.621Z","modified":"2025-03-28T15:05:13.356Z","0.0.1":"2024-12-20T17:41:51.971Z","0.0.2":"2024-12-21T09:44:30.555Z","0.0.3":"2024-12-21T15:07:24.389Z","0.0.4":"2024-12-21T15:11:26.450Z","0.0.5":"2024-12-21T15:14:31.370Z","0.0.6":"2024-12-21T16:55:17.387Z","0.0.7":"2024-12-21T16:57:03.227Z","0.0.8":"2025-01-23T21:16:00.901Z","0.0.9":"2025-02-18T07:37:30.916Z","0.0.10":"2025-02-18T08:46:19.183Z","0.1.0":"2025-03-28T15:05:12.822Z"},"bugs":{"url":"https://github.com/aniojs-org/event-emitter/issues"},"author":{"name":"Anio Software","email":"info@anio.software"},"license":"MIT","homepage":"https://github.com/aniojs-org/event-emitter#readme","repository":{"type":"git","url":"git+https://github.com/aniojs-org/event-emitter.git"},"description":"A simple EventEmitter.","maintainers":[{"name":"exory2024","email":"exory@anio.software"}],"readme":"# @aniojs/event-emitter\n\nCreates an event emitter.\n\nFor the interface you would do something like this:\n\n```ts\nimport type {EventEmitter} from \"@aniojs/event-emitter\"\n\ntype MyCustomEvent1 = {\n\ttype: \"event1\" // <-- this property is always required\n\tpayload: number\n}\n\ntype MyCustomEvent2 = {\n\ttype: \"event2\" // <-- this property is always required\n\tanotherPayload: string\n\tsomeOtherPayload: number[]\n}\n\nexport type MyEvents = [MyCustomEvent1, MyCustomEvent2] // <-- must be a tuple\n\nexport type MyObject = EventEmitter<MyEvents> & {\n\t// type definition of MyObject here\n}\n\nexport declare function createMyObject(): MyObject\n```\n\nAnd for the implementation:\n\n```ts\nimport type {MyObject, MyEvents} from \"./interface.d.mts\"\nimport {createEventEmitter} from \"@aniojs/event-emitter\"\n\nexport function createMyObject(): MyObject {\n\tconst {on, removeEventListener, _emitEvent} = createEventEmitter<MyEvents>([\n\t\t\"event1\", \"event2\" // <-- must appear in the same order as in the MyEvents tuple\n\t])\n\n\tlet obj: MyObject = {\n\t\ton, removeEventListener\n\t}\n\n\t_emitEvent(\"event1\", {payload: 1})\n\t_emitEvent(\"event2\", {anotherPayload: \"test\", someOtherPayload: [1, 2]})\n\n\treturn obj\n}\n```\n","readmeFilename":"README.md"}