README
read-file-stdin
Read from a file, falling back to stdin.
Installation
$ npm install read-file-stdin
API
read ([file], callback)
Read from a file
, falling back to stdin, and callback(err, buffer)
.
License
MIT
Read from a file, falling back to stdin.
<script type="module">
import readFileStdin from 'https://cdn.skypack.dev/read-file-stdin';
</script>
Read from a file, falling back to stdin.
$ npm install read-file-stdin
Read from a file
, falling back to stdin, and callback(err, buffer)
.
MIT