@pdfvector/client 0.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.
@@ -0,0 +1 @@
1
+ export * from "@pdfvector/instance-client";
@@ -0,0 +1 @@
1
+ export * from "@pdfvector/instance-client";
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # @pdfvector/client
2
+
3
+ ## 0.0.1
4
+ ### Patch Changes
5
+
6
+
7
+
8
+ - [#131](https://github.com/phuctm97/pdfvector/pull/131) [`f05bf09`](https://github.com/phuctm97/pdfvector/commit/f05bf09cccae9573172439c2e96e50e4b81ad750) Thanks [@phuctm97](https://github.com/phuctm97)! - Add `@pdfvector/client` as the official TypeScript/JavaScript SDK package.
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # @pdfvector/client
2
+
3
+ The official TypeScript/JavaScript SDK for the PDFVector API.
4
+
5
+ Use `createClient` to connect to PDFVector. It defaults to `global.pdfvector.com`.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @pdfvector/client
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```typescript
16
+ import { createClient } from "@pdfvector/client";
17
+
18
+ const client = createClient({
19
+ apiKey: process.env.PDFVECTOR_API_KEY,
20
+ });
21
+ ```
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@pdfvector/client",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "description": "Official TypeScript/JavaScript SDK for PDFVector API",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/phuctm97/pdfvector",
10
+ "directory": "packages/client"
11
+ },
12
+ "homepage": "https://pdfvector.com",
13
+ "keywords": [
14
+ "pdfvector",
15
+ "pdf",
16
+ "api",
17
+ "sdk",
18
+ "typescript",
19
+ "javascript"
20
+ ],
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "main": ".tsc/lib/index.js",
25
+ "dependencies": {
26
+ "@pdfvector/instance-client": "^0.0.19"
27
+ },
28
+ "files": [
29
+ ".tsc",
30
+ "CHANGELOG.md"
31
+ ]
32
+ }