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.
MIT License
7k stars 680 forks source link

What is `PersistantFile` ? #869

Closed Mr-M1M3 closed 1 year ago

Mr-M1M3 commented 1 year ago

I noticed, an instance of PersistentFle is being logged when I try to log files. However, I didn't get any idea about what it is on the internet. Can you explain, how it is used? Or, can you provide any article explaining the same question?

GrosSacASac commented 1 year ago

It is the name of the class defined here https://github.com/node-formidable/formidable/blob/master/src/PersistentFile.js

Mr-M1M3 commented 1 year ago

@GrosSacASac is there any useful method that makes our life easier?

GrosSacASac commented 1 year ago

toString() and toJSON()