{"name":"eventsource","version":"3.0.2","description":"WhatWG/W3C compliant EventSource client for Node.js and browsers","sideEffects":false,"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"deno":"./dist/index.js","bun":"./dist/index.js","source":"./src/index.ts","import":"./dist/index.js","require":"./dist/index.cjs","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"pkg-utils build && pkg-utils --strict && tsx scripts/referenceEventTypings.ts","build:watch":"pkg-utils watch","clean":"rimraf dist coverage","lint":"eslint . && tsc --noEmit","posttest":"npm run lint","prebuild":"npm run clean","prepare":"npm run build","test":"npm run test:node && npm run test:browser","test:browser":"tsx test/browser/client.browser.test.ts","test:bun":"bun run test/bun/client.bun.test.ts","test:deno":"deno run --allow-net --allow-read --allow-env --unstable-sloppy-imports test/deno/client.deno.test.ts","test:node":"tsx test/node/client.node.test.ts"},"repository":{"type":"git","url":"git://git@github.com/EventSource/eventsource.git"},"keywords":["sse","eventsource","server-sent-events"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"contributors":[{"name":"Aslak Hellesøy","email":"aslak.hellesoy@gmail.com"},{"name":"Einar Otto Stangvik","email":"einaro.s@gmail.com"}],"license":"MIT","engines":{"node":">=18.0.0"},"browserslist":["node >= 18","chrome >= 71","safari >= 14.1","firefox >= 105","edge >= 79"],"dependencies":{"eventsource-parser":"^3.0.0"},"devDependencies":{"@sanity/pkg-utils":"^6.11.10","@sanity/semantic-release-preset":"^5.0.0","@tsconfig/strictest":"^2.0.5","@types/sinon":"^17.0.3","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","esbuild":"^0.24.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-sanity":"^7.1.3","eventsource-encoder":"^1.0.0","playwright":"^1.48.2","prettier":"^3.2.5","rimraf":"^5.0.5","rollup-plugin-visualizer":"^5.12.0","semantic-release":"^24.2.0","sinon":"^17.0.1","tsx":"^4.19.2","typescript":"^5.6.3","undici":"^6.20.1"},"overrides":{"cross-spawn":"7.0.6"},"bugs":{"url":"https://github.com/EventSource/eventsource/issues"},"homepage":"https://github.com/EventSource/eventsource#readme","prettier":{"semi":false,"printWidth":100,"bracketSpacing":false,"singleQuote":true},"eslintConfig":{"parserOptions":{"ecmaVersion":9,"sourceType":"module","ecmaFeatures":{"modules":true}},"extends":["sanity","sanity/typescript","prettier"],"ignorePatterns":["lib/**/"],"globals":{"globalThis":false},"rules":{"no-undef":"off","no-empty":"off"}},"publishConfig":{"provenance":true},"_id":"eventsource@3.0.2","gitHead":"5e08e28f257af542cd27b9059100f15c80083f80","_nodeVersion":"22.12.0","_npmVersion":"10.9.2","dist":{"shasum":"31904faf2d9a9dbdc410f9599354186e7257b3f7","size":22735,"noattachment":false,"key":"/eventsource/-/eventsource-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/eventsource/download/eventsource-3.0.2.tgz"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"directories":{},"maintainers":[{"name":"aslakhellesoy","email":"aslak.hellesoy@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eventsource_3.0.2_1734048824483_0.5011500422294457"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-13T00:13:44.672Z","publish_time":1734048824672,"_source_registry_name":"default","_cnpm_publish_time":1734048824672,"dist-tags":{"latest":"4.1.0","next":"3.0.0-beta.0","umd":"3.0.5-umd.0"}}