node package manager

natron-vinyl

Natron

Natron Vinyl Utilities

Version Downloads Readme

Gitter Chat

This module is part of Natron.

Documentation

See the documentation for natron-vinyl.

Usage

import {src, dest, transformer} from "natron-vinyl";
 
let FileLogger = transformer((file) => {
  console.log(file.path);
  return file;
});
 
function copy() {
  return (src("src/**/*.js")
    .pipe(new FileLogger())
    .pipe(dest("dist"))
  );
}