mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 22:17:25 -04:00
245 B
245 B
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