@ayepi/files 0.1.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/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@ayepi/files",
3
+ "version": "0.1.0",
4
+ "description": "Generic S3-like key-based file storage for @ayepi/core — stream-first put/get, prefix listing, presigned upload/download URLs, with a filesystem default and stream/transfer helpers",
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/ClickerMonkey/ayepi.git",
12
+ "directory": "packages/files"
13
+ },
14
+ "homepage": "https://github.com/ClickerMonkey/ayepi/tree/main/packages/files#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/ClickerMonkey/ayepi/issues"
17
+ },
18
+ "type": "module",
19
+ "sideEffects": false,
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "exports": {
24
+ ".": {
25
+ "import": {
26
+ "types": "./dist/index.d.ts",
27
+ "default": "./dist/index.js"
28
+ },
29
+ "require": {
30
+ "types": "./dist/index.d.cts",
31
+ "default": "./dist/index.cjs"
32
+ }
33
+ },
34
+ "./fs": {
35
+ "import": {
36
+ "types": "./dist/fs.d.ts",
37
+ "default": "./dist/fs.js"
38
+ },
39
+ "require": {
40
+ "types": "./dist/fs.d.cts",
41
+ "default": "./dist/fs.cjs"
42
+ }
43
+ },
44
+ "./server": {
45
+ "import": {
46
+ "types": "./dist/server.d.ts",
47
+ "default": "./dist/server.js"
48
+ },
49
+ "require": {
50
+ "types": "./dist/server.d.cts",
51
+ "default": "./dist/server.cjs"
52
+ }
53
+ },
54
+ "./package.json": "./package.json"
55
+ },
56
+ "engines": {
57
+ "node": ">=18"
58
+ },
59
+ "peerDependencies": {
60
+ "@ayepi/core": "^0.1.0"
61
+ },
62
+ "devDependencies": {
63
+ "@vitest/coverage-v8": "^2.1.8",
64
+ "publint": "^0.3.0",
65
+ "tsdown": "^0.12.0",
66
+ "vitest": "^2.1.8",
67
+ "zod": "^4.4.3",
68
+ "@ayepi/core": "0.1.0"
69
+ },
70
+ "keywords": [
71
+ "ayepi",
72
+ "@ayepi/core",
73
+ "files",
74
+ "storage",
75
+ "s3",
76
+ "filesystem",
77
+ "presigned-url",
78
+ "streams"
79
+ ],
80
+ "scripts": {
81
+ "build": "tsdown",
82
+ "typecheck": "tsc --noEmit",
83
+ "test": "vitest run --coverage",
84
+ "publint": "publint"
85
+ }
86
+ }