@indiekit/endpoint-image

    1.0.0-alpha.9 • Public • Published

    @indiekit/endpoint-image

    Image resizing endpoint for Indiekit.

    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.

    Install

    npm i @indiekit/endpoint-image

    DownloadsWeekly Downloads

    16

    Version

    1.0.0-alpha.9

    License

    MIT

    Unpacked Size

    4.87 kB

    Total Files

    6

    Last publish

    Collaborators

    • paulrobertlloyd