MCPcopy Index your code
hub / github.com/11ty/image

github.com/11ty/image @v6.0.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v6.0.4 ↗ · + Follow
113 symbols 245 edges 34 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

eleventy Logo

eleventy-img

Requires Node 18+

Low level utility to perform build-time image transformations for both vector and raster images. Output multiple sizes, save multiple formats, cache remote images locally. Uses the sharp image processor.

You maintain full control of your HTML. Use with `

oror CSSbackground-image, or others! Works great to addwidthandheight` to your images!

The full eleventy-img documentation is on 11ty.dev.

npm Version GitHub issues

Installation

npm install --save-dev @11ty/eleventy-img

The full eleventy-img documentation is on 11ty.dev.

Tests

npm run test

Community Roadmap

Core symbols most depended-on inside this repo

generateHTML
called by 22
src/generate-html.js
log
called by 13
src/build-logger.js
normalizeEscapedPaths
called by 12
test/util/utils.js
statsSync
called by 11
src/image.js
statsByDimensionsSync
called by 11
src/image.js
get
called by 6
src/memory-cache.js
getFullStats
called by 5
src/image.js
readToRaw
called by 4
test/test.js

Shape

Method 67
Function 28
Class 18

Languages

TypeScript100%

Modules by API surface

src/image.js33 symbols
src/memory-cache.js9 symbols
src/image-attrs-to-posthtml-node.js9 symbols
src/util.js7 symbols
src/disk-cache.js7 symbols
src/build-logger.js7 symbols
src/transform-plugin.js6 symbols
src/exists-cache.js6 symbols
src/defer-counter.js6 symbols
src/image-path.js5 symbols
src/directory-manager.js5 symbols
src/generate-html.js4 symbols

For agents

$ claude mcp add image \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact