@visulima/storage 1.0.0-alpha.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/CHANGELOG.md +12 -0
- package/LICENSE.md +1189 -0
- package/README.md +561 -0
- package/package.json +286 -0
package/package.json
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@visulima/storage",
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
|
+
"description": "Visulima upload - Store files in a web-accessible location via a simplified API. Can automatically scale and rotate images. Includes S3, Azure, GCS and local filesystem-based backends with the most convenient features of each.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"anolilab",
|
|
7
|
+
"visulima",
|
|
8
|
+
"express",
|
|
9
|
+
"upload",
|
|
10
|
+
"uploads",
|
|
11
|
+
"file",
|
|
12
|
+
"files",
|
|
13
|
+
"chunk",
|
|
14
|
+
"resumable",
|
|
15
|
+
"chunked-uploads",
|
|
16
|
+
"tus",
|
|
17
|
+
"form",
|
|
18
|
+
"post",
|
|
19
|
+
"multipart",
|
|
20
|
+
"form-data",
|
|
21
|
+
"formdata",
|
|
22
|
+
"middleware",
|
|
23
|
+
"better-upload",
|
|
24
|
+
"better-uploads",
|
|
25
|
+
"s3",
|
|
26
|
+
"azure",
|
|
27
|
+
"aws",
|
|
28
|
+
"gcs",
|
|
29
|
+
"google",
|
|
30
|
+
"storage",
|
|
31
|
+
"file-upload",
|
|
32
|
+
"cloudflare-r2",
|
|
33
|
+
"digitalocean-spaces",
|
|
34
|
+
"google-cloud-storage",
|
|
35
|
+
"minio",
|
|
36
|
+
"presigned-urls",
|
|
37
|
+
"nextjs",
|
|
38
|
+
"remix",
|
|
39
|
+
"sveltekit",
|
|
40
|
+
"nuxt",
|
|
41
|
+
"astro",
|
|
42
|
+
"react",
|
|
43
|
+
"aws-s3",
|
|
44
|
+
"typescript",
|
|
45
|
+
"hono",
|
|
46
|
+
"fastify",
|
|
47
|
+
"elysia",
|
|
48
|
+
"framework-agnostic",
|
|
49
|
+
"edge-runtime",
|
|
50
|
+
"cloudflare-workers",
|
|
51
|
+
"vercel-edge",
|
|
52
|
+
"serverless",
|
|
53
|
+
"universal",
|
|
54
|
+
"enterprise-security",
|
|
55
|
+
"multipart-upload",
|
|
56
|
+
"chunked-upload",
|
|
57
|
+
"upload-library",
|
|
58
|
+
"uploadthing"
|
|
59
|
+
],
|
|
60
|
+
"homepage": "https://visulima.com/packages/uploads",
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "https://github.com/visulima/visulima.git",
|
|
64
|
+
"directory": "packages/uploads"
|
|
65
|
+
},
|
|
66
|
+
"funding": [
|
|
67
|
+
{
|
|
68
|
+
"type": "github",
|
|
69
|
+
"url": "https://github.com/sponsors/prisis"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "consulting",
|
|
73
|
+
"url": "https://anolilab.com/support"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"license": "MIT",
|
|
77
|
+
"author": {
|
|
78
|
+
"name": "Daniel Bannert",
|
|
79
|
+
"email": "d.bannert@anolilab.de"
|
|
80
|
+
},
|
|
81
|
+
"sideEffects": false,
|
|
82
|
+
"type": "module",
|
|
83
|
+
"exports": {
|
|
84
|
+
".": {
|
|
85
|
+
"types": "./dist/index.d.ts",
|
|
86
|
+
"import": "./dist/index.js"
|
|
87
|
+
},
|
|
88
|
+
"./provider/azure": {
|
|
89
|
+
"types": "./dist/storage/azure/index.d.ts",
|
|
90
|
+
"import": "./dist/storage/azure/index.js"
|
|
91
|
+
},
|
|
92
|
+
"./provider/aws": {
|
|
93
|
+
"types": "./dist/storage/aws/index.d.ts",
|
|
94
|
+
"import": "./dist/storage/aws/index.js"
|
|
95
|
+
},
|
|
96
|
+
"./provider/aws/s3/clients": {
|
|
97
|
+
"types": "./dist/storage/aws/clients/index.d.ts",
|
|
98
|
+
"import": "./dist/storage/aws/clients/index.js"
|
|
99
|
+
},
|
|
100
|
+
"./provider/aws-light": {
|
|
101
|
+
"types": "./dist/storage/aws-light/index.d.ts",
|
|
102
|
+
"import": "./dist/storage/aws-light/index.js"
|
|
103
|
+
},
|
|
104
|
+
"./provider/gcs": {
|
|
105
|
+
"types": "./dist/storage/gcs/index.d.ts",
|
|
106
|
+
"import": "./dist/storage/gcs/index.js"
|
|
107
|
+
},
|
|
108
|
+
"./provider/vercel": {
|
|
109
|
+
"types": "./dist/storage/vercel-blob/index.d.ts",
|
|
110
|
+
"import": "./dist/storage/vercel-blob/index.js"
|
|
111
|
+
},
|
|
112
|
+
"./provider/netlify": {
|
|
113
|
+
"types": "./dist/storage/netlify-blob/index.d.ts",
|
|
114
|
+
"import": "./dist/storage/netlify-blob/index.js"
|
|
115
|
+
},
|
|
116
|
+
"./provider/local": {
|
|
117
|
+
"types": "./dist/storage/local/index.d.ts",
|
|
118
|
+
"import": "./dist/storage/local/index.js"
|
|
119
|
+
},
|
|
120
|
+
"./openapi": {
|
|
121
|
+
"types": "./dist/openapi/index.d.ts",
|
|
122
|
+
"import": "./dist/openapi/index.js"
|
|
123
|
+
},
|
|
124
|
+
"./handler/http/node": {
|
|
125
|
+
"types": "./dist/handler/http/node/index.d.ts",
|
|
126
|
+
"import": "./dist/handler/http/node/index.js"
|
|
127
|
+
},
|
|
128
|
+
"./handler/http/fetch": {
|
|
129
|
+
"types": "./dist/handler/http/fetch/index.d.ts",
|
|
130
|
+
"import": "./dist/handler/http/fetch/index.js"
|
|
131
|
+
},
|
|
132
|
+
"./handler/http/hono": {
|
|
133
|
+
"types": "./dist/handler/http/hono/index.d.ts",
|
|
134
|
+
"import": "./dist/handler/http/hono/index.js"
|
|
135
|
+
},
|
|
136
|
+
"./handler/http/bun": {
|
|
137
|
+
"types": "./dist/handler/http/fetch/index.d.ts",
|
|
138
|
+
"import": "./dist/handler/http/fetch/index.js"
|
|
139
|
+
},
|
|
140
|
+
"./handler/http/cloudflare": {
|
|
141
|
+
"types": "./dist/handler/http/fetch/index.d.ts",
|
|
142
|
+
"import": "./dist/handler/http/fetch/index.js"
|
|
143
|
+
},
|
|
144
|
+
"./handler/http/deno": {
|
|
145
|
+
"types": "./dist/handler/http/fetch/index.d.ts",
|
|
146
|
+
"import": "./dist/handler/http/fetch/index.js"
|
|
147
|
+
},
|
|
148
|
+
"./handler/http/nextjs": {
|
|
149
|
+
"types": "./dist/handler/http/nextjs/index.d.ts",
|
|
150
|
+
"import": "./dist/handler/http/nextjs/index.js"
|
|
151
|
+
},
|
|
152
|
+
"./handler/http/solid-start": {
|
|
153
|
+
"types": "./dist/handler/http/solid-start/index.d.ts",
|
|
154
|
+
"import": "./dist/handler/http/solid-start/index.js"
|
|
155
|
+
},
|
|
156
|
+
"./handler/http/edge": {
|
|
157
|
+
"types": "./dist/handler/http/fetch/index.d.ts",
|
|
158
|
+
"import": "./dist/handler/http/fetch/index.js"
|
|
159
|
+
},
|
|
160
|
+
"./transformer/audio": {
|
|
161
|
+
"types": "./dist/transformer/audio-transformer.d.ts",
|
|
162
|
+
"import": "./dist/transformer/audio-transformer.js"
|
|
163
|
+
},
|
|
164
|
+
"./transformer/video": {
|
|
165
|
+
"types": "./dist/transformer/video-transformer.d.ts",
|
|
166
|
+
"import": "./dist/transformer/video-transformer.js"
|
|
167
|
+
},
|
|
168
|
+
"./transformer/image": {
|
|
169
|
+
"types": "./dist/transformer/image-transformer.d.ts",
|
|
170
|
+
"import": "./dist/transformer/image-transformer.js"
|
|
171
|
+
},
|
|
172
|
+
"./transformer": {
|
|
173
|
+
"types": "./dist/transformer/index.d.ts",
|
|
174
|
+
"import": "./dist/transformer/index.js"
|
|
175
|
+
},
|
|
176
|
+
"./adapter/nuxt": {
|
|
177
|
+
"types": "./dist/adapter/nuxt/module.d.ts",
|
|
178
|
+
"import": "./dist/adapter/nuxt/module.js"
|
|
179
|
+
},
|
|
180
|
+
"./package.json": "./package.json"
|
|
181
|
+
},
|
|
182
|
+
"files": [
|
|
183
|
+
"dist/**",
|
|
184
|
+
"README.md",
|
|
185
|
+
"CHANGELOG.md",
|
|
186
|
+
"LICENSE.md"
|
|
187
|
+
],
|
|
188
|
+
"dependencies": {
|
|
189
|
+
"@remix-run/multipart-parser": "^0.14.0",
|
|
190
|
+
"@sindresorhus/fnv1a": "3.1.0",
|
|
191
|
+
"@visulima/pagination": "4.0.5",
|
|
192
|
+
"file-type": "21.1.1",
|
|
193
|
+
"lru-cache": "^11.2.2",
|
|
194
|
+
"mime": "^4.1.0",
|
|
195
|
+
"nanoid": "5.1.6",
|
|
196
|
+
"path-to-regexp": "8.3.0",
|
|
197
|
+
"type-is": "^2.0.1"
|
|
198
|
+
},
|
|
199
|
+
"peerDependencies": {
|
|
200
|
+
"@aws-sdk/client-s3": ">=3.901.0",
|
|
201
|
+
"@aws-sdk/credential-providers": ">=3.901.0",
|
|
202
|
+
"@aws-sdk/s3-request-presigner": ">=3.901.0",
|
|
203
|
+
"@aws-sdk/signature-v4-crt": ">=3.901.0",
|
|
204
|
+
"@aws-sdk/types": ">=3.930.0",
|
|
205
|
+
"@azure/storage-blob": ">=12.28.0",
|
|
206
|
+
"@netlify/blobs": ">=10.3.1",
|
|
207
|
+
"@nuxt/kit": ">=4.2.1",
|
|
208
|
+
"@opentelemetry/api": ">=1.9.0",
|
|
209
|
+
"@solidjs/start": ">=1.1.0",
|
|
210
|
+
"@vercel/blob": ">=2.0.0",
|
|
211
|
+
"aws-crt": ">=1.27.3",
|
|
212
|
+
"aws4fetch": ">=1.0.0",
|
|
213
|
+
"gaxios": ">=7.1.2",
|
|
214
|
+
"google-auth-library": ">=10.4.0",
|
|
215
|
+
"hono": ">=4.0.0",
|
|
216
|
+
"mediabunny": ">=1.23.0",
|
|
217
|
+
"next": ">=15",
|
|
218
|
+
"sharp": ">=0.33.5"
|
|
219
|
+
},
|
|
220
|
+
"peerDependenciesMeta": {
|
|
221
|
+
"@aws-sdk/client-s3": {
|
|
222
|
+
"optional": true
|
|
223
|
+
},
|
|
224
|
+
"@aws-sdk/credential-providers": {
|
|
225
|
+
"optional": true
|
|
226
|
+
},
|
|
227
|
+
"@aws-sdk/s3-request-presigner": {
|
|
228
|
+
"optional": true
|
|
229
|
+
},
|
|
230
|
+
"@aws-sdk/signature-v4-crt": {
|
|
231
|
+
"optional": true
|
|
232
|
+
},
|
|
233
|
+
"@aws-sdk/types": {
|
|
234
|
+
"optional": true
|
|
235
|
+
},
|
|
236
|
+
"@azure/storage-blob": {
|
|
237
|
+
"optional": true
|
|
238
|
+
},
|
|
239
|
+
"@netlify/blobs": {
|
|
240
|
+
"optional": true
|
|
241
|
+
},
|
|
242
|
+
"@nuxt/kit": {
|
|
243
|
+
"optional": true
|
|
244
|
+
},
|
|
245
|
+
"@opentelemetry/api": {
|
|
246
|
+
"optional": true
|
|
247
|
+
},
|
|
248
|
+
"@solidjs/start": {
|
|
249
|
+
"optional": true
|
|
250
|
+
},
|
|
251
|
+
"@vercel/blob": {
|
|
252
|
+
"optional": true
|
|
253
|
+
},
|
|
254
|
+
"aws-crt": {
|
|
255
|
+
"optional": true
|
|
256
|
+
},
|
|
257
|
+
"aws4fetch": {
|
|
258
|
+
"optional": true
|
|
259
|
+
},
|
|
260
|
+
"gaxios": {
|
|
261
|
+
"optional": true
|
|
262
|
+
},
|
|
263
|
+
"google-auth-library": {
|
|
264
|
+
"optional": true
|
|
265
|
+
},
|
|
266
|
+
"hono": {
|
|
267
|
+
"optional": true
|
|
268
|
+
},
|
|
269
|
+
"mediabunny": {
|
|
270
|
+
"optional": true
|
|
271
|
+
},
|
|
272
|
+
"next": {
|
|
273
|
+
"optional": true
|
|
274
|
+
},
|
|
275
|
+
"sharp": {
|
|
276
|
+
"optional": true
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"engines": {
|
|
280
|
+
"node": ">=22.12 <=25.x"
|
|
281
|
+
},
|
|
282
|
+
"publishConfig": {
|
|
283
|
+
"access": "public",
|
|
284
|
+
"provenance": true
|
|
285
|
+
}
|
|
286
|
+
}
|