Skip to content

@lastshotlabs/slingshot-image

npm install @lastshotlabs/slingshot-image

Default values for optional config fields.

function createImagePlugin(rawConfig?: ImagePluginConfig): SlingshotPlugin

Source: packages/slingshot-image/src/plugin.ts

Options for the in-memory LRU image cache.

function createMemoryImageCache(opts?: MemoryImageCacheOptions): ImageCacheAdapter

Source: packages/slingshot-image/src/cache.ts

Supported output image formats for the image optimization handler.

Source: packages/slingshot-image/src/types.ts

Supported output image formats for the image optimization handler.

Source: packages/slingshot-image/src/types.ts

Supported output image formats for the image optimization handler.

Source: packages/slingshot-image/src/types.ts

Supported output image formats for the image optimization handler.

Source: packages/slingshot-image/src/types.ts

Supported output image formats for the image optimization handler.

Source: packages/slingshot-image/src/types.ts

Supported output image formats for the image optimization handler.

Source: packages/slingshot-image/src/types.ts

Supported output image formats for the image optimization handler.

Source: packages/slingshot-image/src/types.ts