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