npm install fabric-texture
# or
pnpm add fabric-texture
# if you need to use the `FabricTexture` class, you also need to install `fabric`.
pnpm add fabric-texture fabric