natron-vinyl

0.2.0-beta.1 • Public • Published

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"))
  );
}

Versions

Current Tags

Version History

Package Sidebar

Install

npm i natron-vinyl

Weekly Downloads

1

Version

0.2.0-beta.1

License

MIT

Last publish

Collaborators

  • natron
  • stefanr