UNPKG

@profusion/apollo-federation-upload

Version:

This library makes it easier to support file uploads to your federated micro-services. It uses the [Apollo](https://www.apollographql.com/docs/apollo-server/data/file-uploads/) server's solution. It works by simply redirecting the file uploaded stream to

6 lines (5 loc) 198 B
import BaseFormData from 'form-data'; export default class FormData extends BaseFormData { getLength(callback: (err: Error | null, length: number) => void): void; getLengthSync(): number; }