empathai-core 0.1.0 → 0.1.3
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/README.md +36 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @empathai/core
|
|
2
|
+
|
|
3
|
+
> Progressive, multimodal emotion detection SDK for real-time web applications. Built for developers who want apps to **feel** the user.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 🔮 What is EmpathAI?
|
|
12
|
+
|
|
13
|
+
**EmpathAI** is an open-source SDK that enables web applications to detect and respond to **user emotions** in real time using **non-intrusive behavior signals** — such as typing speed, mouse movement, and interaction patterns.
|
|
14
|
+
|
|
15
|
+
The `@empathai/core` package provides the core hook and engine for capturing and analyzing this behavior in **React apps**. Future modules (`@empathai/analytics`, `@empathai/chatbot`, `@empathai/enterprise`) will plug into this core.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🚀 Features
|
|
20
|
+
|
|
21
|
+
- 🧠 Passive emotion tracking (no camera or mic required)
|
|
22
|
+
- ⚛️ Built-in React hook (`useEmpathAI`)
|
|
23
|
+
- 🌗 Works out of the box, extensible with plugins
|
|
24
|
+
- 📦 Lightweight and production-ready
|
|
25
|
+
- 🧩 Open source, extensible SDK architecture
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 📦 Installation
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# With npm
|
|
33
|
+
npm install empathai-core
|
|
34
|
+
|
|
35
|
+
# With pnpm
|
|
36
|
+
pnpm add empathai-core
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "empathai-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Progressive, multimodal emotion detection SDK for real-time apps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
|
-
"dist"
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md"
|
|
9
10
|
],
|
|
10
11
|
"keywords": [
|
|
11
12
|
"emotion",
|
|
@@ -18,6 +19,10 @@
|
|
|
18
19
|
"author": "Mrityunjoy",
|
|
19
20
|
"license": "MIT",
|
|
20
21
|
"private": false,
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/pikxul/empathai"
|
|
25
|
+
},
|
|
21
26
|
"dependencies": {
|
|
22
27
|
"react": "^19.1.1"
|
|
23
28
|
},
|