read-file-stdin

Read from a file, falling back to stdin.

MIT 6 个版本
安装
npm install read-file-stdin
yarn add read-file-stdin
pnpm add read-file-stdin
bun add read-file-stdin
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

版本列表
0.2.1 2016-01-21
0.2.0 2014-10-15
0.0.4 2014-05-07
0.0.3 2013-12-19
0.0.2 2013-12-19
0.0.1 2013-12-19