tty.js 439 B

1234567891011121314151617181920
  1. // MIT lisence
  2. // from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
  3. export function isatty() {
  4. return false;
  5. }
  6. export function ReadStream() {
  7. throw new Error('tty.ReadStream is not implemented');
  8. }
  9. export function WriteStream() {
  10. throw new Error('tty.ReadStream is not implemented');
  11. }
  12. export default {
  13. isatty: isatty,
  14. ReadStream: ReadStream,
  15. WriteStream: WriteStream
  16. }