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

/read-file-stdin/

    Package Sidebar

    Install

    npm i read-file-stdin

    Weekly Downloads

    82,361

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • ianstormtaylor
    • dominicbarnes