node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

firstValues export in index

Hyodori04 opened this issue · comments

Suggestion

I want to use firstValues function from import
But it doesn't export in index.js. other function is exported like

export * from './parsers/index.js'; export * from './plugins/index.js';

Why you guys didn't export helpers.

Thanks you

@Hyodori04

Yeah, that's a good point. I think the idea was to have helpers and wrapper things on a separate package.

We'll do.

Oh. There's a packge json exports for the helpers, so you should be able to access them?

image

스크린샷 2024-03-11 오전 9 47 59

I think it's related typescript. In @types/formidable helpers is not defined. So I can't import.

@Hyodori04 I think it's related typescript. In @types/formidable helpers is not defined. So I can't import.

oh well, yeah probably the TS package is out of sync.