@indiekit/endpoint-image

1.0.0-beta.10 • Public • Published

@indiekit/endpoint-image

Image resizing endpoint for Indiekit. Adds real-time image processing routes that can be used by your publication.

Installation

npm i @indiekit/endpoint-image

Usage

Add @indiekit/endpoint-image to your list of plug-ins, specifying options as required:

{
  "plugins": ["@indiekit/endpoint-image"],
  "@indiekit/endpoint-image": {
    "mountPath": "/bild", // de-DE
  },
}

Options

Option Type Description
cache Function Keyv store.
me string Publication URL. Used as prefix to image paths.
mountPath string Path to image resizing endpoint. Optional, defaults to /image.

Package Sidebar

Install

npm i @indiekit/endpoint-image

Weekly Downloads

2

Version

1.0.0-beta.10

License

MIT

Unpacked Size

4.1 kB

Total Files

5

Last publish

Collaborators

  • paulrobertlloyd