Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
TinyIIIF is a small tinyhttp implementation of a node-iiif server. It is intended as a no-frills example that can also serve as a development server.
$ IIIF_IMAGE_PATH=/path/to/iiif/images node index.js
Serving IIIF images from /Users/mbk836/Workspace/repos/nulib/iiif-express on http://localhost:3000
IIIF_IMAGE_PATH
: The base path where images to be served are storedIMAGE_FILE_TEMPLATE
: The template string for translating an image ID into its path relative to IIIF_IMAGE_PATH
. (Default: {{id}}.tif
)PORT
: The port the server should listen on (Default: 3000
)$ docker build -t tiny-iiif .
$ docker run -v /path/to/iiif/images:/data --publish 3000:3000 tiny-iiif
The IMAGE_FILE_TEMPLATE
can be specified by using Docker's -e
(or --env
) parameter:
$ docker run -e IMAGE_FILE_TEMPLATE={{id}}.jpg -v /path/to/iiif/images:/data -p 3000:3000 tiny-iiif
# docker-compose.yml
---
version: "3.9"
services:
iiif:
build: .
ports:
- "3000:3000"
volumes:
- "/path/to/iiif/images:/data"
environment:
IMAGE_FILE_TEMPLATE: "{{id}}.pyramid.tif"
FAQs
Example server for node-iiif using @tinyhttp
The npm package tiny-iiif receives a total of 0 weekly downloads. As such, tiny-iiif popularity was classified as not popular.
We found that tiny-iiif demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.