@cloudpdf/server 3.0.0-next.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/LICENSE +120 -0
- package/README.md +59 -0
- package/dist/bin/cloudpdf-server.d.ts +1 -0
- package/dist/bin/cloudpdf-server.js +129657 -0
- package/dist/bin/cloudpdf-server.js.map +1 -0
- package/dist/index.d.ts +6113 -0
- package/dist/index.js +128807 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime/worker-entry.d.ts +2 -0
- package/dist/runtime/worker-entry.js +8711 -0
- package/dist/runtime/worker-entry.js.map +1 -0
- package/package.json +96 -0
package/package.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cloudpdf/server",
|
|
3
|
+
"version": "3.0.0-next.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Self-hostable CloudPDF document engine server: Fastify-based HTTP/REST API in front of a Node worker_thread pool running the native EmbedPDF Runtime (PDFium fork) via @embedpdf/engine-runtime. Uses the same engine-services code as the local browser engine.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./bin": {
|
|
15
|
+
"default": "./dist/bin/cloudpdf-server.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"bin": {
|
|
19
|
+
"cloudpdf-server": "./dist/bin/cloudpdf-server.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"README.md"
|
|
25
|
+
],
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
|
|
29
|
+
"directory": "cloudpdf/server"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://www.embedpdf.com",
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/embedpdf/embed-pdf-viewer/issues"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"pdf",
|
|
37
|
+
"cloudpdf",
|
|
38
|
+
"server",
|
|
39
|
+
"self-hosted"
|
|
40
|
+
],
|
|
41
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@fastify/compress": "^8",
|
|
44
|
+
"@fastify/multipart": "^9.0.0",
|
|
45
|
+
"better-sqlite3": "^12.10.0",
|
|
46
|
+
"fastify": "^5.0.0",
|
|
47
|
+
"jose": "^6.2.3",
|
|
48
|
+
"kysely": "^0.29.0",
|
|
49
|
+
"pg": "^8.20.0",
|
|
50
|
+
"sharp": "^0.34.2",
|
|
51
|
+
"zod": "^3.25.76",
|
|
52
|
+
"@embedpdf/engine-core": "3.0.0-next.0",
|
|
53
|
+
"@cloudpdf/admin-api": "3.0.0-next.0",
|
|
54
|
+
"@embedpdf/engine-services": "3.0.0-next.0",
|
|
55
|
+
"@embedpdf/engine-runtime": "3.0.0-next.0"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@smithy/util-stream": "^4.6.1",
|
|
59
|
+
"@testcontainers/postgresql": "^11.14.0",
|
|
60
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
61
|
+
"@types/node": "latest",
|
|
62
|
+
"@types/pg": "^8.20.0",
|
|
63
|
+
"aws-sdk-client-mock": "^4.1.0",
|
|
64
|
+
"rimraf": "^5.0.0",
|
|
65
|
+
"testcontainers": "^11.14.0",
|
|
66
|
+
"tsup": "^8.3.0",
|
|
67
|
+
"typescript": "^5.0.0",
|
|
68
|
+
"vitest": "^2.1.0",
|
|
69
|
+
"@cloudpdf/admin": "^3.0.0-next.0"
|
|
70
|
+
},
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public"
|
|
73
|
+
},
|
|
74
|
+
"optionalDependencies": {
|
|
75
|
+
"@aws-sdk/client-kms": "^3.1045.0",
|
|
76
|
+
"@aws-sdk/client-s3": "^3.1045.0",
|
|
77
|
+
"@aws-sdk/client-secrets-manager": "^3.1045.0",
|
|
78
|
+
"@aws-sdk/s3-request-presigner": "^3.1045.0",
|
|
79
|
+
"@azure/identity": "^4.13.1",
|
|
80
|
+
"@azure/keyvault-keys": "^4.10.0",
|
|
81
|
+
"@azure/keyvault-secrets": "^4.11.2",
|
|
82
|
+
"@azure/storage-blob": "^12.28.0",
|
|
83
|
+
"@google-cloud/kms": "^5.5.0",
|
|
84
|
+
"@google-cloud/secret-manager": "^6.1.2",
|
|
85
|
+
"@google-cloud/storage": "^7.18.0"
|
|
86
|
+
},
|
|
87
|
+
"scripts": {
|
|
88
|
+
"build": "tsup",
|
|
89
|
+
"clean": "rimraf dist",
|
|
90
|
+
"dev": "tsup --watch",
|
|
91
|
+
"start": "node dist/bin/cloudpdf-server.js",
|
|
92
|
+
"lint": "eslint src --color",
|
|
93
|
+
"lint:fix": "eslint src --color --fix",
|
|
94
|
+
"test": "vitest run"
|
|
95
|
+
}
|
|
96
|
+
}
|