dd7b5d9d0b
Rewrote much of the application to use Promises instead of callbacks. Replaced the two previous image conversion packages with Sharp, which now handles svg-to-png and svg-to-jpg conversion. Added queueing support to prevent resource exhaustion.
21 lines
493 B
JSON
21 lines
493 B
JSON
{
|
|
"name": "latex2image-web",
|
|
"version": "1.0.0",
|
|
"description": "Web-based LaTeX to image converter using Node.js / Docker",
|
|
"main": "app.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"bluebird": "^3.7.2",
|
|
"body-parser": "^1.19.0",
|
|
"express": "^4.17.1",
|
|
"express-promise-router": "^4.0.1",
|
|
"express-queue": "^0.0.12",
|
|
"sharp": "^0.27.0",
|
|
"shelljs": "^0.8.4"
|
|
}
|
|
}
|