UNPKG

@sentool/fetch-event-source

Version:

Using the Fetch API to request an SSE endpoint.

41 lines (40 loc) 878 B
{ "name": "@sentool/fetch-event-source", "version": "0.6.0", "publishConfig": { "access": "public" }, "description": "Using the Fetch API to request an SSE endpoint.", "keywords": [ "eventsource", "sse" ], "license": "MIT", "type": "module", "main": "dist/index.cjs", "module": "dist/index.esm.js", "files": [ "dist" ], "repository": { "type": "git", "url": "git://github.com/sentool/fetch-event-source.git" }, "jest": { "testMatch": ["**/tests/**/*.js?(x)"] }, "scripts": { "dist": "npx rollup -c", "test": "jest", "build": "jest && npx rollup -c" }, "devDependencies": { "@babel/core": "^7.25.7", "@babel/preset-env": "^7.25.7", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-terser": "^0.4.4", "babel-jest": "^29.7.0", "jest": "^29.7.0", "rollup": "^4.24.0" } }