{"_id":"d3-dispatch@3.0.2","bugs":{"url":"https://github.com/d3/d3-dispatch/issues"},"dist":{"shasum":"c92c560ed688a0356caae1a510d41aa96fc188e5","tarball":"http://registry-npm.ywwl.com/d3-dispatch/download/d3-dispatch-3.0.2.tgz","fileCount":7,"integrity":"sha512-sAzH4Y4nsLo8eSqw5jKiZt+LU2wZmL/qS+OkxQGjhwazB/D7TY34R/QK1eshfGr7cZEKymKZ/Haem7m+lu98Sg==","signatures":[{"sig":"MEUCIQDgaAMkRFFtq/55izr4Ha+oDGQOeslydxdIOb3of+ZISAIgLidx2YfdghgtWzC86MHfOHIUoBkD3tJYe2svpz/7Wi0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDkmnVE08W156DsK9rF7QNyzifSc2B743zkTWadbToviwIgbICBNj0YyyK99XfEZi/YXCKXqWPZVQWV7J3x9At8pII="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/d3-dispatch@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12166,"size":3704,"noattachment":false,"key":"/d3-dispatch/-/d3-dispatch-3.0.2.tgz"},"main":"dist/d3-dispatch.mjs","name":"d3-dispatch","type":"module","unpkg":"dist/d3-dispatch.min.js","author":{"url":"http://bost.ocks.org/mike","name":"Mike Bostock"},"module":"dist/d3-dispatch.mjs","engines":{"node":">=12"},"exports":{"umd":"./dist/d3-dispatch.min.js","default":"./dist/d3-dispatch.mjs"},"gitHead":"3d7d734c26a09a7d97c566808f311201602c7267","license":"ISC","scripts":{"lint":"eslint","test":"vitest","prepublishOnly":"rm -rf dist && rollup -c"},"version":"3.0.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b0b4ebd2-e4af-4692-8454-1cbc0a525484"}},"homepage":"https://d3js.org/d3-dispatch/","jsdelivr":"dist/d3-dispatch.min.js","keywords":["d3","d3-module","event","listener","dispatch"],"repository":{"url":"git+https://github.com/d3/d3-dispatch.git","type":"git"},"_npmVersion":"11.19.1","description":"Register named callbacks and call them with arguments.","directories":{},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"sideEffects":false,"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.14.0","rollup":"^4.67.4","vitest":"^5.1.0","globals":"^17.14.0","@eslint/js":"^10.0.1","@rollup/plugin-terser":"^1.0.2","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/d3-dispatch_3.0.2_1793681756518_0.7957663431093744"},"readme":"# d3-dispatch\n\n<a href=\"https://d3js.org\"><img src=\"https://github.com/d3/d3/raw/main/docs/public/logo.svg\" width=\"256\" height=\"256\"></a>\n\nDispatching is a low-level interaction mechanism that allows you to register named callbacks and then call them with arbitrary arguments. A variety of D3 interaction components, such as [d3-drag](https://github.com/d3/d3-drag), use this mechanism to emit events to listeners. Think of this like Node’s [EventEmitter](https://nodejs.org/api/events.html), except every listener has a well-defined name so it’s easy to remove or replace them.\n\n## Resources\n\n- [Documentation](https://d3js.org/d3-dispatch)\n- [Examples](https://observablehq.com/@d3/-/collection/d3-dispatch)\n- [Releases](https://github.com/d3/d3-dispatch/releases)\n- [Getting help](https://d3js.org/community)\n","publish_time":1793681756600,"_cnpm_publish_time":1793681756600,"dist-tags":{"latest":"3.0.2"}}