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