{"library":"tty-browserify","type":"library","category":null,"description":"`tty-browserify` provides a browser-compatible stub for the Node.js core `tty` module, enabling Node.js applications that use `require('tty')` to be bundled and run in a browser environment via Browserify. It primarily offers a `tty.isatty()` function which consistently returns `false` in the browser context, as true TTY (teletypewriter) devices do not exist in standard web browsers. Attempts to instantiate `tty.ReadStream` or `tty.WriteStream` directly in the browser will result in errors, reflecting the fundamental difference in I/O environments between Node.js CLI applications and web browsers. This package, currently at version 0.0.1, has not seen active development since its last release over eight years ago (January 2018) but remains a crucial underlying dependency for many legacy Browserify-based projects, evident by its high weekly download count despite its age. Its release cadence is effectively dormant, and its key differentiator is its role as a direct translation layer for a core Node.js API to the browser via Browserify's module resolution.","language":"javascript","status":"maintenance","version":"0.0.1","tags":["javascript","tty","browser","browserify"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tty-browserify","imports":["const tty = require('tty');","const isatty = require('tty').isatty;"]},{"cmd":"yarn add tty-browserify","imports":[]},{"cmd":"pnpm add tty-browserify","imports":[]}],"homepage":null,"github":"https://github.com/browserify/tty-browserify","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tty-browserify","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/tty-browserify/compatibility"}}