@visibe.ai/node 0.1.11 → 0.1.12
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 +14 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,15 +14,21 @@
|
|
|
14
14
|
|
|
15
15
|
## 📦 Getting Started
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### 1. Create an account
|
|
18
|
+
|
|
19
|
+
Sign up at **[app.visibe.ai](https://app.visibe.ai)** and create a project.
|
|
20
|
+
|
|
21
|
+
### 2. Get an API key
|
|
22
|
+
|
|
23
|
+
In your project, go to **Settings → API Keys** and generate a new key. It will look like `sk_live_...`.
|
|
24
|
+
|
|
25
|
+
### 3. Install the SDK
|
|
18
26
|
|
|
19
27
|
```bash
|
|
20
28
|
npm install @visibe.ai/node
|
|
21
29
|
```
|
|
22
30
|
|
|
23
|
-
###
|
|
24
|
-
|
|
25
|
-
Set your API key:
|
|
31
|
+
### 4. Set your API key
|
|
26
32
|
|
|
27
33
|
```bash
|
|
28
34
|
export VISIBE_API_KEY=sk_live_your_api_key_here
|
|
@@ -34,7 +40,7 @@ Or in a `.env` file:
|
|
|
34
40
|
VISIBE_API_KEY=sk_live_your_api_key_here
|
|
35
41
|
```
|
|
36
42
|
|
|
37
|
-
###
|
|
43
|
+
### 5. Instrument your app
|
|
38
44
|
|
|
39
45
|
```typescript
|
|
40
46
|
import { init } from '@visibe.ai/node'
|
|
@@ -320,8 +326,9 @@ await shutdown()
|
|
|
320
326
|
|
|
321
327
|
## 🔗 Resources
|
|
322
328
|
|
|
323
|
-
- [
|
|
324
|
-
- [
|
|
329
|
+
- [visibe.ai](https://visibe.ai) — Product website
|
|
330
|
+
- [app.visibe.ai](https://app.visibe.ai) — Dashboard (sign up, manage API keys, view traces)
|
|
331
|
+
- [npm Package](https://www.npmjs.com/package/@visibe.ai/node) — Latest version on npm
|
|
325
332
|
|
|
326
333
|
---
|
|
327
334
|
|
package/package.json
CHANGED