{"maintainers":[{"email":"blaine.bublitz@gmail.com","name":"anonymous"},{"email":"yo@contra.io","name":"anonymous"}],"keywords":["ee","emitter","events","global","namespaced"],"dist-tags":{"latest":"2.1.0"},"author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"description":"Namespaced global event emitter","readme":"<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# sparkles\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nNamespaced global event emitter\n\n## Usage\n\nSparkles exports a function that returns a singleton `EventEmitter`.\nThis EE can be shared across your application, whether or not node loads\nmultiple copies.\n\nNote: If you put an event handler in a file in your application, that file must be loaded in via an import somewhere in your application, even if it's not directly being used. Otherwise, it will not be loaded into memory.\n\n```js\nvar sparkles = require('sparkles')(); // make sure to call the function\n\nsparkles.on('my-event', function (evt) {\n  console.log('my-event handled', evt);\n});\n\nsparkles.emit('my-event', { my: 'event' });\n```\n\n## API\n\n### sparkles(namespace)\n\nReturns an EventEmitter that is shared amongst the provided namespace. If no namespace\nis provided, returns a default EventEmitter.\n\n### sparkles.exists(namespace);\n\nChecks whether a namespace exists and returns true or false.\n\n## Why the name?\n\nThis is a \"global emitter\"; shortened: \"glitter\" but it was already taken; so we got sparkles instead :smile:\n\n## License\n\nMIT\n\n<!-- prettier-ignore-start -->\n[downloads-image]: https://img.shields.io/npm/dm/sparkles.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/sparkles\n[npm-image]: https://img.shields.io/npm/v/sparkles.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/sparkles/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/actions/workflow/status/gulpjs/sparkles/dev.yml?branch=master&style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/sparkles\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/sparkles/master.svg?style=flat-square\n<!-- prettier-ignore-end -->\n","repository":{"type":"git","url":"git+https://github.com/gulpjs/sparkles.git"},"users":{"ivangaravito":true,"josudoey":true},"bugs":{"url":"https://github.com/gulpjs/sparkles/issues"},"license":"MIT","versions":{"0.0.0":{"name":"sparkles","version":"0.0.0","description":"Namespaced global event emitter","author":{"name":"Blaine Bublitz","email":"blaine@iceddev.com","url":"http://iceddev.com/"},"contributors":[],"repository":{"type":"git","url":"https://github.com/phated/sparkles"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","files":["index.js","LICENSE"],"scripts":{"test":"lab -cv","lint":"jshint test index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules"},"dependencies":{},"devDependencies":{"code":"^1.2.1","jshint":"^2.5.10","jshint-stylish":"^1.0.0","lab":"^5.1.0"},"keywords":["global","ee","events","emitter","namespaced"],"gitHead":"2ba1bca61a43ae1a611388f0ed59e4010375edfb","bugs":{"url":"https://github.com/phated/sparkles/issues"},"homepage":"https://github.com/phated/sparkles","_id":"sparkles@0.0.0","_shasum":"1ec6844c63cc7e29fdaa8f0fa3def9d861b3c26a","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.32","_npmUser":{"name":"anonymous","email":"blaine@iceddev.com"},"maintainers":[{"name":"anonymous","email":"blaine@iceddev.com"}],"dist":{"shasum":"1ec6844c63cc7e29fdaa8f0fa3def9d861b3c26a","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/sparkles/-/sparkles-0.0.0.tgz","integrity":"sha512-/uxVCg+IwHFqxalCUM5Re2VbJewMaanNla3m7X0NDJmGDErjQwOmpPhYpoLasRUt0Rnw29MpeMOruZfE41mKuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMenn3DfE9oiEGlzSb4RQDh9VAjs2IKiB1vTpFkp9oaQIgeHaH85kaaCTVvIwDmgvt+wz8aIkf0Beaw2zKILK0ZU8="}]},"directories":{}},"0.1.0":{"name":"sparkles","version":"0.1.0","description":"Namespaced global event emitter","author":{"name":"Blaine Bublitz","email":"blaine@iceddev.com","url":"http://iceddev.com/"},"contributors":[],"repository":{"type":"git","url":"https://github.com/phated/sparkles"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","files":["index.js","LICENSE"],"scripts":{"test":"lab -cv --ignore store@sparkles","lint":"jshint test index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules"},"dependencies":{},"devDependencies":{"code":"^1.2.1","jshint":"^2.5.10","jshint-stylish":"^1.0.0","lab":"^5.1.0"},"keywords":["global","ee","events","emitter","namespaced"],"gitHead":"7157cb24ef3c5ec0a3b439e6ff7002e4a19bab08","bugs":{"url":"https://github.com/phated/sparkles/issues"},"homepage":"https://github.com/phated/sparkles","_id":"sparkles@0.1.0","_shasum":"44f17f733c7d3c06cac7b7b59bfb6efa226653e0","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"anonymous","email":"blaine@iceddev.com"},"maintainers":[{"name":"anonymous","email":"blaine@iceddev.com"}],"dist":{"shasum":"44f17f733c7d3c06cac7b7b59bfb6efa226653e0","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/sparkles/-/sparkles-0.1.0.tgz","integrity":"sha512-wOJYsIW3s71PmXeuy4FsQz/+3KnEL9WLBO+Xtt7hX66vocq1wDWrAWcB/yvzqGfmEEU6TBFrJIbwJs1xLtXCpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWY8+ypDPlrTY0a+uYzVuCbBWjJwDJUGPaCEiOLCNv/AiBk1IfjP3h+fY8oYjFHDSV3tTG/m5zRSJGbVU5hGfBxAw=="}]},"directories":{}},"1.0.0":{"name":"sparkles","version":"1.0.0","description":"Namespaced global event emitter","author":{"name":"Blaine Bublitz","email":"blaine@iceddev.com","url":"http://iceddev.com/"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/phated/sparkles.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","files":["LICENSE","index.js"],"scripts":{"test":"lab -cvL --ignore store@sparkles"},"dependencies":{},"devDependencies":{"@phated/eslint-config-iceddev":"^0.2.1","code":"^1.5.0","eslint":"^1.3.1","eslint-plugin-mocha":"^0.5.1","eslint-plugin-react":"^3.3.1","lab":"^5.16.0"},"keywords":["ee","emitter","events","global","namespaced"],"gitHead":"66eed55eeac9f3ba641d4643c5ad2ed598bc6a72","bugs":{"url":"https://github.com/phated/sparkles/issues"},"homepage":"https://github.com/phated/sparkles#readme","_id":"sparkles@1.0.0","_shasum":"1acbbfb592436d10bbe8f785b7cc6f82815012c3","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.10.36","_npmUser":{"name":"anonymous","email":"blaine@iceddev.com"},"maintainers":[{"name":"anonymous","email":"blaine@iceddev.com"}],"dist":{"shasum":"1acbbfb592436d10bbe8f785b7cc6f82815012c3","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/sparkles/-/sparkles-1.0.0.tgz","integrity":"sha512-dZz1U41LhWOCCky1mHNT5aLvNdq7kLYPLnOWCFx3hyIwY0PMG8lHf5o0PDdserbz8H33Aobo6LcLtOwOslREQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFPNwWDwuoT9KTfW9YgaOcZxRk4RD3yCwgPZrtjoQaGwIgMWyIH9gnX21HCCH9xAiT0RrA8xPo0EGRCSnC69F9Su8="}]},"directories":{}},"1.0.1":{"name":"sparkles","version":"1.0.1","description":"Namespaced global event emitter","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/sparkles.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","files":["LICENSE","index.js"],"scripts":{"lint":"eslint .","pretest":"npm run lint","test":"mocha --async-only","cover":"istanbul cover _mocha --report lcovonly","coveralls":"npm run cover && istanbul-coveralls"},"dependencies":{},"devDependencies":{"eslint":"^2.13.0","eslint-config-gulp":"^3.0.1","expect":"^1.20.2","istanbul":"^0.4.3","istanbul-coveralls":"^1.0.3","mocha":"^3.5.3"},"keywords":["ee","emitter","events","global","namespaced"],"gitHead":"da22dc644d2ec25da634b5a161881bef1e3a0ff1","bugs":{"url":"https://github.com/gulpjs/sparkles/issues"},"homepage":"https://github.com/gulpjs/sparkles#readme","_id":"sparkles@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"anonymous","email":"blaine.bublitz@gmail.com"},"dist":{"integrity":"sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==","shasum":"008db65edce6c50eec0c5e228e1945061dd0437c","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/sparkles/-/sparkles-1.0.1.tgz","fileCount":4,"unpackedSize":4853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh27p+CRA9TVsSAnZWagAAcXcQAIiOdt9XLcEgJXeXaL3A\nlSOCmiPyYD38+XQqf9HFlWoUSeM0cPJeG140TyJKvJxloXP0lAfoR+Vjmz1f\nzklKbYHuFKrZ9zE5EKg6kPMOgAyyW3/BaX4Fl3Z8G4ky+5DluqT2fqJCizl5\nHaFAnCZY5s4L+L5GF6PoHZgb5APnZZ2lujyoldm+0/7ebgt6wBcAkyT2c6OY\nstmA2OOLXioQQeZduiB/MAM/weRELP/QiY1vJ9ra5Z6wZfqSbMdgbPIR9mSs\nxguveak5bWCBwaNRo08DprLYZzNp+x8e9EIDzFnMTdpzAcGRFWIlWtSvCr/j\nABwIDygpavpnFubFsiFGuaKOFnsr921/oVxLDJTg3uvzYcP+rvgF4yrAymIJ\nig06HxGCQwx9rukmuLkpCjK7i6rWhM92A1syDGJIqtPleUfnenDYCk73kCI5\n+xJUxQL6bTEn9sLpt/G1Isv5uDAKsynxpZ1TtRxQuEgkZvugihsnB3Z5MvcR\nkjwX7SRgNXIUL2k6XRB+lCDFQS3o756XWi8o7MAuCeUn62TVQ/UjzrV8W0WG\n/1/nfcsElHitMn+KBQhmpY4tu7O4omB7aDj+JuzLEkiiCDfyBF6W16fhxzvl\nYxyi2WeHyY3+UVw7aXuquUIVCbeW6INGocynUlKRhDHnjCKHwTVH33+uoHQW\nozJ/\r\n=9+QG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCatEd/6x+xLwrhVeP/oc1PIHrbIOZqediWVyyp4dfKeQIhAKoRn0WdbnMM9nzhdogUE/bJr/opDZRDqe16nz+EvHWE"}]},"maintainers":[{"name":"anonymous","email":"blaine@iceddev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sparkles_1.0.1_1526266664297_0.09154957041809064"},"_hasShrinkwrap":false},"2.0.0":{"name":"sparkles","version":"2.0.0","description":"Namespaced global event emitter","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/sparkles.git"},"license":"MIT","engines":{"node":">= 10.13.0"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only"},"devDependencies":{"eslint":"^7.32.0","eslint-config-gulp":"^5.0.1","eslint-plugin-node":"^11.1.0","expect":"^27.3.1","mocha":"^8.4.0","nyc":"^15.1.0"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"keywords":["ee","emitter","events","global","namespaced"],"gitHead":"9f18a7d8434772dfa500e0352c7abef97db9708a","bugs":{"url":"https://github.com/gulpjs/sparkles/issues"},"homepage":"https://github.com/gulpjs/sparkles#readme","_id":"sparkles@2.0.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-rqUsosNTLY8KIT6qhuJlXzIUjYJNHTDoHmPnJwfnD7bEvSSvhUOMKuPMCsmLR3vDhyTGi0oAqAbLjgiIXnL2wQ==","shasum":"1fcfb7ad687710bbcdd5c655d6ae523952345346","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/sparkles/-/sparkles-2.0.0.tgz","fileCount":5,"unpackedSize":6005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+I8RCRA9TVsSAnZWagAA24YQAJWs+QMNefH7asz27kSn\n9Wk7looYVbb1Tfs6orz10H0JAKn4Evj9AhNRDSZLXXZUxHAwMr0I+y08iK6I\n6ugey/7wHzH+OJANAB/vdenY0iysaVAVQbFNUq1ctGoeR50ZgUKFT20nQX+q\nW74DGSXS9TD7utWe17IMPmb8fOKzGi0Oe72TCdOU1bAI0XKx24umpHLEiWHj\n80Jk5alfXAz3IjJQYd5UaFNY4LmSDtNMS2/quIG48SuduBEUN1XDhWVSAPjQ\n6G+nKn0HwIbEZsnFUT+U+I8dmookkLYFC/dO/5LF1DRXUoNuXPxWUw2twubX\nxHpbnFVqS+uuKnMsPzfVyKRT1RvCHYbbfsHw+9we/1+eEHI2WQLYAoK4nyaZ\n+pSnqGfQUe6+KCXRmdeQDSkuNaibY9JsyYXutVgY2dNlBbQGBnWnsIaAn0Zd\nL/oLVz1vG1LKyV2ZX4JIszQT3fEzfhfrm1X6I4CkRA0CJ7ozD1RZYylv0L/K\naGeSFuE9NoKYK0aUdiw1l544/kGtkWYu7hqwo9uJOcGcIclX0eARjBuD48BF\n+m+qApj5Iun2Uu7Xxx6T8cuE/WPNjGxv//epsgSp3rzphK+IO8WPFMrv8fv1\nXya0Qyjcge6H30f+Ix3TCzOPmE9J+QI69nAnNU9GxbwmDMt4ToI/4uyG5WZn\nzdk2\r\n=tKBC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/sLYGrqDN4yE3hDehOHK59BjJh9IJ50QUw5/utbNtFAiBuGc0JFdNvvxdT1QGnN4jjvLGwg36EvJQTLWp1VG9pNw=="}]},"_npmUser":{"name":"anonymous","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sttk.xslet@gmail.com"},{"name":"anonymous","email":"blaine.bublitz@gmail.com"},{"name":"anonymous","email":"yo@contra.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sparkles_2.0.0_1643679505648_0.3953190240095419"},"_hasShrinkwrap":false},"2.1.0":{"name":"sparkles","version":"2.1.0","description":"Namespaced global event emitter","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/sparkles.git"},"license":"MIT","engines":{"node":">= 10.13.0"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only"},"devDependencies":{"eslint":"^7.32.0","eslint-config-gulp":"^5.0.1","eslint-plugin-node":"^11.1.0","expect":"^27.3.1","mocha":"^8.4.0","nyc":"^15.1.0"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"keywords":["ee","emitter","events","global","namespaced"],"_id":"sparkles@2.1.0","gitHead":"d4afc77d45bae5de6aca01bf9628c839eeb2f903","bugs":{"url":"https://github.com/gulpjs/sparkles/issues"},"homepage":"https://github.com/gulpjs/sparkles#readme","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-r7iW1bDw8R/cFifrD3JnQJX0K1jqT0kprL48BiBpLZLJPmAm34zsVBsK5lc7HirZYZqMW65dOXZgbAGt/I6frg==","shasum":"8ad4e8cecba7e568bba660c39b6db46625ecf1ad","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/sparkles/-/sparkles-2.1.0.tgz","fileCount":5,"unpackedSize":5836,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ21pZ4PTR+xXVfNQsE2um/fhu2VIiPzkrxJ9ZQV8T6gIhALHRFWXQQNzyqFPsOOTHxXr0/u9kCAKP/RoE6tuIVfrO"}]},"_npmUser":{"name":"anonymous","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sttk.xslet@gmail.com"},{"name":"anonymous","email":"blaine.bublitz@gmail.com"},{"name":"anonymous","email":"yo@contra.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sparkles_2.1.0_1711230266551_0.28659316630169207"},"_hasShrinkwrap":false}},"name":"sparkles","time":{"modified":"2024-04-04T23:53:42.757Z","created":"2014-12-09T03:38:13.968Z","0.0.0":"2014-12-09T03:38:13.968Z","0.1.0":"2015-01-29T17:21:43.625Z","1.0.0":"2015-09-08T00:01:19.049Z","1.0.1":"2018-05-14T02:57:44.379Z","2.0.0":"2022-02-01T01:38:25.827Z","2.1.0":"2024-03-23T21:44:26.707Z"},"contributors":[{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"readmeFilename":"README.md","homepage":"https://github.com/gulpjs/sparkles#readme"}