@better-s3/core 3.1049.0 → 3.1051.0
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 +23 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @better-s3/core
|
|
2
|
+
|
|
3
|
+
Shared protocol, typed API client, and pure helpers used by `@better-s3/server` and `@better-s3/react`.
|
|
4
|
+
|
|
5
|
+
Full documentation: [better-s3-docs.vercel.app](https://better-s3-docs.vercel.app/docs/quickstart)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @better-s3/core
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Minimal setup
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { createS3Api } from "@better-s3/core";
|
|
17
|
+
|
|
18
|
+
export const s3Client = createS3Api(); // default base path: /api/s3
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## License
|
|
22
|
+
|
|
23
|
+
MIT
|