@mobil80-dev/chatbot-widget 1.0.0 → 1.0.1
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 +48 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,4 +15,51 @@ VaultChat is a lightweight JavaScript chat widget that can be embedded into any
|
|
|
15
15
|
## 📦 Installation
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm install @
|
|
18
|
+
npm install @mobil80-dev/chatbot-widget
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
🚀 Usage
|
|
22
|
+
<script type="module">
|
|
23
|
+
import VaultChat from '@nanthu-mobil80/vaultchat-js'
|
|
24
|
+
|
|
25
|
+
VaultChat.init({
|
|
26
|
+
apiKey: 'YOUR_API_KEY',
|
|
27
|
+
primaryColor: '#7c3aed'
|
|
28
|
+
})
|
|
29
|
+
</script>
|
|
30
|
+
|
|
31
|
+
⚙️ Configuration
|
|
32
|
+
Option Type Description
|
|
33
|
+
apiKey string Your VaultChat API key
|
|
34
|
+
primaryColor string Primary UI color
|
|
35
|
+
🔒 Branding
|
|
36
|
+
|
|
37
|
+
Includes a built-in watermark:
|
|
38
|
+
Powered by VaultChat
|
|
39
|
+
|
|
40
|
+
📄 License
|
|
41
|
+
|
|
42
|
+
MIT
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 4️⃣ Optional: .npmignore (Recommended)
|
|
48
|
+
|
|
49
|
+
Create `.npmignore`:
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
node_modules
|
|
54
|
+
test
|
|
55
|
+
*.log
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 5️⃣ Verify before publish (DO THIS)
|
|
61
|
+
|
|
62
|
+
Run these commands:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npm whoami
|