-
-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Describe your idea for a new feature
I propose making the virtual files more web- Blob/File IDL like by introducing: stream(), text(), arrayBuffer(), slice(), size, name and type
Explain the problem your idea is trying to solve
I think ppl would feel more at home if virtual files where more like web Blob/File (in fact they are introduced into NodeJS at this point globally)
if they behaved more like Blob/Files then it would also be possible to use them with eg fetch and FormData and you would even be able to concat files together using new Blob([ virualFileA, virualFileB ]) - that's if you are using fetch-blob
If this feature could exist outside of gulp (like as a plugin or a module), would you be interested in helping to create and maintain it?
Hmm, it could exist outside of gulp, but then i would have to add new prototype methods to vinyl files. or extend it...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status