-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
171 lines (171 loc) · 4.93 KB
/
package.json
File metadata and controls
171 lines (171 loc) · 4.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "rahyana-ai-api-examples",
"version": "2.0.0",
"description": "Complete JavaScript examples for Rahyana AI API - Advanced AI integration for 2025",
"main": "index.js",
"type": "module",
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"start": "node index.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:performance": "node test/performance.js",
"lint": "eslint . --ext .js,.mjs",
"lint:fix": "eslint . --ext .js,.mjs --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"dev": "nodemon index.js",
"build": "npm run lint && npm run test",
"docs": "jsdoc -c jsdoc.conf.json",
"examples:basic": "node chat-completions/basic-chat.js",
"examples:streaming": "node chat-completions/streaming-chat.js",
"examples:image": "node chat-completions/image-analysis.js",
"examples:audio": "node chat-completions/audio-processing.js",
"examples:pdf": "node chat-completions/pdf-processing.js",
"examples:web-search": "node chat-completions/web-search.js",
"examples:tool-calling": "node chat-completions/tool-calling.js",
"examples:json-mode": "node chat-completions/json-mode.js",
"examples:legacy": "node completions/legacy-completions.js",
"examples:models": "node models/get-models.js",
"examples:content-generator": "node real-world-projects/ai-content-generator.js",
"examples:chatbot": "node real-world-projects/ai-chatbot.js",
"examples:code-assistant": "node real-world-projects/ai-code-assistant.js",
"examples:voice-assistant": "node advanced-examples/ai-voice-assistant.js",
"examples:data-analyzer": "node advanced-examples/ai-data-analyzer.js",
"examples:automation": "node advanced-examples/ai-automation-suite.js",
"examples:web3": "node advanced-examples/ai-web3-integration.js",
"examples:all": "npm run examples:basic && npm run examples:streaming && npm run examples:image && npm run examples:audio && npm run examples:pdf && npm run examples:web-search && npm run examples:tool-calling && npm run examples:json-mode && npm run examples:legacy && npm run examples:models",
"examples:real-world": "npm run examples:content-generator && npm run examples:chatbot && npm run examples:code-assistant",
"examples:advanced": "npm run examples:voice-assistant && npm run examples:data-analyzer && npm run examples:automation && npm run examples:web3"
},
"keywords": [
"ai",
"artificial-intelligence",
"api",
"javascript",
"nodejs",
"openai",
"gpt",
"gpt-5",
"gpt-4o",
"machine-learning",
"nlp",
"computer-vision",
"voice-assistant",
"chatbot",
"content-generation",
"code-assistant",
"data-analysis",
"automation",
"web3",
"blockchain",
"nft",
"defi",
"crypto",
"rahyana",
"examples",
"tutorial",
"2025",
"cutting-edge",
"advanced",
"production-ready"
],
"author": {
"name": "Rahyana Team",
"email": "support@rahyana.ir",
"url": "https://rahyana.ir"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rahyana/examples.git",
"directory": "javascript"
},
"bugs": {
"url": "https://github.com/rahyana/examples/issues"
},
"homepage": "https://rahyana.ir/docs",
"dependencies": {
"dotenv": "^16.3.1",
"form-data": "^4.0.0",
"glob": "^11.0.3",
"node-fetch": "^3.3.2",
"ws": "^8.14.2"
},
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.23.0",
"@types/jest": "^29.5.8",
"@types/node": "^20.8.0",
"@types/ws": "^8.5.8",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"jsdoc": "^4.0.2",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"supertest": "^6.3.3"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"**/*.js",
"!**/node_modules/**",
"!**/coverage/**",
"!jest.config.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"eslintConfig": {
"env": {
"browser": true,
"es2025": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2025,
"sourceType": "module"
},
"rules": {
"no-console": "warn",
"no-unused-vars": "error",
"prefer-const": "error",
"no-var": "error"
}
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
],
"funding": {
"type": "individual",
"url": "https://rahyana.ir/support"
}
}