Installation

To install the astro-imagetools package, run the following command:

npm install astro-imagetools

# yarn
yarn add astro-imagetools

# pnpm
pnpm add astro-imagetools

Register the Astro Integration provided by Astro ImageTools in your astro.config.mjs file:

import { astroImageTools } from "astro-imagetools";

export default {
  integrations: [astroImageTools],
};

Then, you’ll be able to use the components and APIs inside your Astro pages and components. To know more about how to use the components and APIs, please check out the Usage documentation.