NuxtParter is a utility class for handling HTTP events in a Nuxt.js application. It can parse both multipart form data and regular body data from HTTP requests. It also provides a static method for storing files.
npm install --save nitro-parter
import { NuxtParter } from 'nitro-parter';
let {data, files} = await NuxtParter.readRequestData(event);
event.context.files = files;
event.context.data = data;
NuxtParter.storeFile(file, path);