Simply pass an async function such as del and this package will provide each path in the stream as the first argument.
Npm vinyl paths.
Readsync path options create a vinyl file synchronously and return it.
Map vinyl files contents as strings so you can easily use existing code without needing yet another gulp plugin.
Returns a promise for a vinyl file.
Install npm install vinyl paths usage.
Get the file paths in a vinyl stream.
A file does not necessarily represent something on your computer s file system.
Vinyl adapter for the file system.
Options may be passed upon instantiation to create a file with specific properties.
All internally managed paths cwd base path history are normalized and have trailing separators removed see normalization and concatenation for more information.
Vinyl is a very simple metadata object that describes a file.
Api new vinyl options the constructor is used to create a new instance of vinyl each instance represents a separate file directory or symlink.
Path and contents these are the main attributes on a vinyl object.
Get the file paths in a vinyl stream.
When you think of a file two attributes come to mind.
Useful when you need to use the file paths from a gulp pipeline in an async node js package.
Essentially with the hope of reducing the number of gulp plugins out there which are just doing this.
All internally managed paths cwd base path history are normalized and have trailing separators removed see normalization and concatenation for more information.
Get the file paths in a vinyl stream.
A file does not necessarily represent something on your computer s file system.
When you think of a file two attributes come to mind.
Options may be passed upon instantiation to create a file with specific properties.
Simply pass an async function such as del and this package will provide each path in the stream as the first argument.
Install npm install vinyl paths usage.
Useful when you need to use the file paths from a gulp pipeline in an async node js package.
Create a vinyl file from an actual file.
Simply pass an async function such as del and this package will provide each path in the stream as the first argument.
Api new vinyl options the constructor is used to create a new instance of vinyl each instance represents a separate file directory or symlink.
Useful when you need to use the file paths from a gulp pipeline in an async node js package.
These are the main attributes on a vinyl object.