@andreasnicolaou/reactive-event-source
Version:
A lightweight reactive wrapper around EventSource using RxJS, providing automatic reconnection and buffering.
75 lines (74 loc) • 1.79 kB
JSON
{
"name": "@andreasnicolaou/reactive-event-source",
"version": "1.2.2",
"description": "A lightweight reactive wrapper around EventSource using RxJS, providing automatic reconnection and buffering.",
"main": "dist/index.js",
"private": false,
"types": "dist/types/index.d.ts",
"type": "module",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsc",
"test": "jest",
"format": "prettier --write .",
"lint": "eslint --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/andreasnicolaou/reactive-event-source.git"
},
"bugs": {
"url": "https://github.com/andreasnicolaou/reactive-event-source/issues"
},
"author": {
"name": "Andreas Nicolaou",
"email": "anicolaou66@gmail.com"
},
"license": "MIT",
"jest": {
"transform": {
"^.+\\.(ts)$": [
"ts-jest"
]
},
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.0.3",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.35.1",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.1",
"globals": "^16.2.0",
"jest": "^30.0.3",
"jest-environment-jsdom": "^30.0.2",
"prettier": "3.6.2",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"keywords": [
"eventsource",
"sse",
"rxjs",
"observables",
"reactive",
"reconnect",
"streaming",
"typescript",
"wrapper",
"andreasnicolaou"
],
"dependencies": {
"rxjs": "^7.8.2"
}
}