@react-nano/use-event-source
Version:
A lightweight EventSource (server-sent-events) hook for react, written in TypeScript
45 lines (44 loc) • 987 B
JSON
{
"name": "@react-nano/use-event-source",
"version": "0.16.0",
"description": "A lightweight EventSource (server-sent-events) hook for react, written in TypeScript",
"keywords": [
"TypeScript",
"react",
"EventSource",
"sse",
"server-sent-events",
"hooks",
"react-hooks"
],
"homepage": "https://lusito.github.io/react-nano/",
"bugs": {
"url": "https://github.com/Lusito/react-nano/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Lusito/react-nano.git"
},
"license": "Zlib",
"author": "Santo Pfingsten",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "rimraf dist && tsc"
},
"devDependencies": {
"@types/react": "^19.0.10",
"react": "^19.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.8.2"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"publishConfig": {
"access": "public"
}
}