write-file-stdout

Write to a file, falling back to stdout.

Usage no npm install needed!

<script type="module">
  import writeFileStdout from 'https://cdn.skypack.dev/write-file-stdout';
</script>

README

write-file-stdout

Read to file, falling back to stdout.

Installation

$ npm install write-file-stdout

API

write ([file], callback)

Read to file, falling back to stdout.

License

MIT