@veloxts/storage 0.6.57 → 0.6.58

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.
Files changed (2) hide show
  1. package/README.md +2 -24
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,30 +1,8 @@
1
1
  # @veloxts/storage
2
2
 
3
- > **Early Preview** - APIs may change before v1.0.
3
+ > **Early Preview (v0.6.x)** - APIs are stabilizing but may still change. Use with caution in production.
4
4
 
5
- File storage abstraction with local filesystem and S3-compatible drivers.
6
-
7
- ## Installation
8
-
9
- ```bash
10
- npm install @veloxts/storage
11
- ```
12
-
13
- ## Quick Start
14
-
15
- ```typescript
16
- import { storagePlugin } from '@veloxts/storage';
17
-
18
- app.use(storagePlugin({ driver: 'local', root: './storage' }));
19
-
20
- // Upload a file
21
- await ctx.storage.put('avatars/user-123.jpg', buffer, { visibility: 'public' });
22
-
23
- // Get public URL
24
- const url = await ctx.storage.url('avatars/user-123.jpg');
25
- ```
26
-
27
- See [GUIDE.md](./GUIDE.md) for detailed documentation.
5
+ File storage abstraction for VeloxTS Framework - provides local filesystem and S3-compatible drivers with streaming and signed URLs. Learn more at [@veloxts/velox](https://www.npmjs.com/package/@veloxts/velox).
28
6
 
29
7
  ## License
30
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/storage",
3
- "version": "0.6.57",
3
+ "version": "0.6.58",
4
4
  "description": "Multi-driver file storage abstraction for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "fastify-plugin": "5.1.0",
30
30
  "mime-types": "2.1.35",
31
- "@veloxts/core": "0.6.57"
31
+ "@veloxts/core": "0.6.58"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@aws-sdk/client-s3": ">=3.0.0",
@@ -57,7 +57,7 @@
57
57
  "fastify": "5.6.2",
58
58
  "typescript": "5.8.3",
59
59
  "vitest": "4.0.16",
60
- "@veloxts/testing": "0.6.57"
60
+ "@veloxts/testing": "0.6.58"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"