Directory structure:
└── node-libraries-wasm-image-optimization/
├── README.md
├── eslint.config.mjs
├── LICENSE
├── Makefile
├── package.json
├── tsconfig.csj.json
├── tsconfig.json
├── typings.d.ts
├── .npmignore
├── docker/
│ ├── docker-compose.yml
│ └── Dockerfile
├── esm/
│ └── package.json
├── images/
│ └── test03.avif
├── src/
│ ├── cjs/
│ │ └── libImage.d.ts
│ ├── cpp/
│ │ ├── libImage.cpp
│ │ └── libs/
│ │ ├── Image.cpp
│ │ ├── Image.h
│ │ ├── MemoryManager.cpp
│ │ ├── MemoryManager.h
│ │ ├── MemoryRW.cpp
│ │ ├── MemoryRW.h
│ │ └── Surface.h
│ ├── dummy/
│ │ └── index.ts
│ ├── esm/
│ │ ├── index.ts
│ │ └── libImage.d.ts
│ ├── lib/
│ │ └── optimizeImage.ts
│ ├── next/
│ │ └── index.ts
│ ├── next-web-worker/
│ │ ├── _web-worker.ts
│ │ └── index.ts
│ ├── node/
│ │ ├── _node-worker.ts
│ │ ├── cjs-worker.ts
│ │ └── index.ts
│ ├── types/
│ │ └── index.ts
│ ├── vite/
│ │ └── index.ts
│ ├── vite-plugin/
│ │ └── index.ts
│ ├── vite-web-worker/
│ │ ├── _web-worker.ts
│ │ └── index.ts
│ └── workers/
│ └── index.ts
└── test/
├── index.ts
└── tsconfig.json