read-file-stdin

0.2.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.1
    86,034
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.1
    86,034
  • 0.2.0
    505
  • 0.0.4
    10
  • 0.0.3
    25
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i read-file-stdin

Weekly Downloads

86,575

Version

0.2.1

License

MIT

Last publish

Collaborators

  • ianstormtaylor
  • dominicbarnes