oddsockets-nodejs 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +448 -0
- package/dist/Channel.js +1 -0
- package/dist/EnhancedFeatures.js +1 -0
- package/dist/ManagerDiscovery.js +1 -0
- package/dist/MessageSizeValidator.js +1 -0
- package/dist/OddSockets.js +1 -0
- package/dist/PubNubCompat.js +1 -0
- package/dist/index.js +1 -0
- package/examples/basic-usage.js +140 -0
- package/examples/enhanced-features-usage.js +403 -0
- package/examples/index.html +729 -0
- package/package.json +61 -0
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oddsockets-nodejs",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Official Node.js SDK for OddSockets real-time messaging platform",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "jest",
|
|
8
|
+
"test:watch": "jest --watch",
|
|
9
|
+
"lint": "eslint src/**/*.js",
|
|
10
|
+
"docs": "jsdoc src/*.js -d docs/",
|
|
11
|
+
"swagger": "node swagger/server.js",
|
|
12
|
+
"example": "node examples/basic-usage.js",
|
|
13
|
+
"build": "node scripts/build.js",
|
|
14
|
+
"prepublishOnly": "npm run build"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"oddsockets",
|
|
18
|
+
"websocket",
|
|
19
|
+
"realtime",
|
|
20
|
+
"messaging",
|
|
21
|
+
"pubsub",
|
|
22
|
+
"pubnub",
|
|
23
|
+
"pusher",
|
|
24
|
+
"socket.io",
|
|
25
|
+
"nodejs",
|
|
26
|
+
"server-side"
|
|
27
|
+
],
|
|
28
|
+
"author": "Joe Wee <joe@tyga.cloud>",
|
|
29
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/jyswee/oddsockets-nodejs-sdk.git"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/jyswee/oddsockets-nodejs-sdk/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://docs.oddsockets.com/sdks/nodejs",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"socket.io-client": "^4.7.2",
|
|
40
|
+
"axios": "^1.5.0",
|
|
41
|
+
"eventemitter3": "^5.0.1",
|
|
42
|
+
"express": "^4.18.2",
|
|
43
|
+
"swagger-jsdoc": "^6.2.8",
|
|
44
|
+
"swagger-ui-express": "^5.0.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/node": "^20.5.0",
|
|
48
|
+
"eslint": "^8.47.0",
|
|
49
|
+
"jest": "^29.6.2",
|
|
50
|
+
"jsdoc": "^4.0.2"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=14.0.0"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"dist/",
|
|
57
|
+
"examples/",
|
|
58
|
+
"README.md",
|
|
59
|
+
"LICENSE"
|
|
60
|
+
]
|
|
61
|
+
}
|