JSPM

read-file-stdin

0.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 92322
  • Score
    100M100P100Q160779F
  • License MIT

Read from a file, falling back to stdin.

Package Exports

  • read-file-stdin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (read-file-stdin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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