mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-07 04:31:21 -06:00
18 lines
245 B
Markdown
18 lines
245 B
Markdown
|
|
# 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 |