{"_id":"bun-pty","_rev":"23-86db3b138abe77ee3575814a57144af0","name":"bun-pty","dist-tags":{"latest":"0.4.10"},"versions":{"0.1.0":{"name":"bun-pty","version":"0.1.0","keywords":["bun","pty","terminal","ffi","rust","node-pty","pseudoterminal"],"author":{"name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.1.0","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"637a55b75d043c4883fec6026894af64766c28a7","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.1.0.tgz","fileCount":9,"integrity":"sha512-cm9YOwg5UgoFOj9elUo9JxTbwO0oKCMsMv7Wx+CFgmzmXEXHIdluaAVdUZPTdxtJrftg3Mdd5A4KuGItf2rdWg==","signatures":[{"sig":"MEYCIQCvus+jrEtG9xbge0IyMHAUGzuupuoEayCxQMir4E4q8wIhANZvR4RlGCNpU3EpPojpjBNTDDG9QfAN2jlxeY/2c5L6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":630132},"main":"./src/index.ts","type":"module","types":"./src/index.ts","engines":{"bun":">=1.0.0"},"gitHead":"a10c4e1563b8f8f4459140d8c0434003adce21fc","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.1.0","description":"A cross-platform pseudo-terminal (PTY) implementation for Bun using Rust and FFI","directories":{},"_nodeVersion":"20.8.1","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.1.0_1747212980609_0.8402877919996572","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"bun-pty","version":"0.2.0","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.0","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"5c09a28dfccb3d7d8aca56ad13ee1354ae7e4920","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.0.tgz","fileCount":12,"integrity":"sha512-Rr/y0eAyVZl017zUBqhaV0YBnXjSDe48DQhBvJ/PbwmHa3TX918MRKMCp/8j0HjEQtXeVP5lH6/IsrNriimKtw==","signatures":[{"sig":"MEUCIC9K8AA1qqJ7eGRwlaXFsr8pngzoCmLjgQOY3QndJ7awAiEAvZ1A7jCfFCRIkfcdMOyXzHwmT60NRxevO9zlRloWZVM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":629251},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"44f09a6dc5d9bffe91e786b37681f9350e82284d","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.1.0","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.0_1747213980270_0.5577962456388863","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"bun-pty","version":"0.2.1","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.1","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"136e315ed8e4363122a22b53c11c91370fd2a075","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.1.tgz","fileCount":12,"integrity":"sha512-/MPXC+84W1LJKt1QN82V9DflhN+PLWhDqgrhIENbujZ6l2VukNe9teXquUrml9RXfFv5Mibxofi54x8xfoqU1A==","signatures":[{"sig":"MEUCIQCaPfxIEPOvFbjmNag0N5dsg0rgHJeRHqOP1cw6KWySBgIgA26A0YLTVlc870UFwDvJLgLZMlCeJnR3hO1OTAE8fR4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":624993},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"d84a0daa3159ecd3307512ddb3d6025436eaafe2","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.1.0","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.1_1747221761550_0.9642464091057226","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"bun-pty","version":"0.2.2","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.2","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"1cff1c00aace39a922d240d142fd5713757eab27","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.2.tgz","fileCount":14,"integrity":"sha512-DqE1DaBqYBrq4r+4KSJ3XlQpiILb3UhZjcAPBOLBeQx0OclGfiD8rWB2WAdkYEsBHjyKMX2JS9PzLObPkPcrWQ==","signatures":[{"sig":"MEUCIAhhOoV/AOM1RFXkCwFupI0gWZFcOR8MJkxFpR42+D5xAiEA1XlZ9IKxDGxVo3J7jqGv3KFh+5DKCikANk3ixvbjFx8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1191458},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"9abefe5b6544d54af6a0df892a4ba52490aa4958","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.2_1747227392749_0.3684456575555948","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"bun-pty","version":"0.2.4","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.4","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"1cbdd53c2ee6598aeb1b795d133db59126ca0b4a","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.4.tgz","fileCount":14,"integrity":"sha512-gjjUkFMRVdNMtx+mxxcA7uobzG+z/ovqD7gPXS2TSeJCWTIQJqCoLYBAi4U9kwATG4q5jcqieZ+Fadg3nzzYTQ==","signatures":[{"sig":"MEUCIQDfd6arcoeaYv+CMQQ3naGisQDJB2Eu+IAAzGkYa5vorwIgSh4wnvNSAoMuzQuYZHWk0aUfBdPocjdFk4w1ZXUMiD4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1796444},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"813d94dee255f9cb414de5bbaff08a0a5ca13160","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.4_1747228867542_0.026426642119644628","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"bun-pty","version":"0.2.5","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.5","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"d6d0ec2c51851ccada3afca8a35d5ef0c153524c","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.5.tgz","fileCount":14,"integrity":"sha512-QH1XQh0sIEQ5cd3jgUGsb0dmOAcBh0qKprZKOXYbBPBLvvt8bSbic5COnrsSNjrK2sAfiUZ5VHHmC+7KsvQJTg==","signatures":[{"sig":"MEYCIQCaSz3c9lY8EzJHxlrXpZdy1aWdcpaFBhk7Iut5xPlfyQIhAOFTv1mi8zYpediFRFuHEGqxy/8YVmNyeuHcnb8qCflW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1759539},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"a064525b707b7bfc36354a11421be63d314710b1","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.5_1747231899510_0.34718512282391734","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"bun-pty","version":"0.2.6","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.6","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"f8a28c32f1035461df9d80dd196853b12bd5d1f8","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.6.tgz","fileCount":14,"integrity":"sha512-4YoYJMntyq1cVlwYuwWCUbg4u4PCt3Y9FN6kWYnLqjwruwBXVuEOMV2qd7HIvJusJOll0jROrmUT9GfpW4KPhA==","signatures":[{"sig":"MEQCIH/JUQ+gtT02COswIDZa7CgQ7OPRAokAZwQxyNwUeADQAiBGDR8SGr6u2Y5bk7rIlRNpz42GbF+axkn4UgRdtB/GsA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1759572},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"749b97ef2439df89427cccd7f3dda9d2598d604a","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.6_1747232782366_0.9104449705462723","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"bun-pty","version":"0.2.8","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.8","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"8781ad6f51305dcbb89a571ce8ff0535b3701795","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.8.tgz","fileCount":13,"integrity":"sha512-HTIqxIK6V+N9pNi42hmGkZkL3/3WqgGA/sayDE7a3zbpm/xhatsH83G+oEqzDjO6338ZH2leISQ8WSWzwju3/A==","signatures":[{"sig":"MEUCIDlq3hYaus5dSatcc4+allUkQLU3X7UcEZNl2JfBAW9YAiEA+wwv6DNPfPi5lSbICsMvKgzOJd8/vmNinqIL9WWPckk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1322491},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"610add0360eabfa4efc4a8114b0bace281dd234d","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3","@types/node":"^22.15.18"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.8_1747286969743_0.051049828204490444","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"bun-pty","version":"0.2.9","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.2.9","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"c0edce1747e00049b0756928a5cfea6423c8650a","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.2.9.tgz","fileCount":13,"integrity":"sha512-IMIa+rju3l2tl6fWpoGfu1ABcG/celCerxldMX79EuzmDt7xXJiwjh4940Vn1mKS41jm7md8DuIPdVa//BlaNw==","signatures":[{"sig":"MEUCIGqxs+2JLic3+LB9yuuAgN0DaVbrc6tDDA/tgoslcn3RAiEAthzLqP0Lrk5IrPwG1MBiqEs/LGWVtvtFJmwKvk4NErM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1322580},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"bf0036a2049865a1e9c0158bfe0fc3c55370d7ca","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3","@types/node":"^22.15.18"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.2.9_1747290592030_0.6427737730253724","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"bun-pty","version":"0.3.0","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.3.0","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"b670e97ded911320ec8f0428a9653ee2e8707bf3","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.3.0.tgz","fileCount":16,"integrity":"sha512-bPZB8HkxyZxaOV0zQEK832SeKqj/6NjLfrI4s+AdtSzaMx8c2ZUvA6MYCGqo+xaX8XVwjn3KgaZ/5F2o3vjCWQ==","signatures":[{"sig":"MEUCICO6AdHrqSEl8tTxYBZa7NymUH6IoF1afLYxNfyi4dShAiEA8/+1PEDj/0Dj+20W/WjJMCABWzSzh+dTEC0JDASYGoc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3799376},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"931a60eddf828fecaab45ee9e1f0ca66e0bf3682","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3","@types/node":"^22.15.18"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.3.0_1747291382889_0.9644660695486398","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"bun-pty","version":"0.3.1","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.3.1","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"10167cfdaff3abef30ddbde3a7ef89c7596e98b8","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.3.1.tgz","fileCount":16,"integrity":"sha512-vmamvr6TL4gioXVipjhI4uMypgZAYZLeB1MbK7dAmBk0HHe7GimekOwerQnUSCbOlJi3s78kswcsJBCuYERXeQ==","signatures":[{"sig":"MEUCIQD9MRnC1iIlA8Cu6gkuBcGK7NBVHCYU3jkajruM0iW+BQIgeGujeR+FvfQlZk8Pc1dUGJkifIeWdGbotg5O9Ugt4cI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3799603},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"12ba21ce0e0171dd4a8d4c40cfff4d97fa205cc2","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3","@types/node":"^22.15.18"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.3.1_1747292202084_0.13424752358616598","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"bun-pty","version":"0.3.2","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.3.2","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"c1daa715d1385ca5a5ffcd171f5e5cae8504b81b","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.3.2.tgz","fileCount":16,"integrity":"sha512-ZDNs03VX7uUzTTFgymM9m3nWvPNYkeWWHj7+aweI3O1F/5uu8yqdQ9HhGXjbcW8UDjVzNvVFg8UaPEvaQsEjLg==","signatures":[{"sig":"MEUCIQDj7y2OaVWCHgizLWtSNu0iaGtT6ZhmdLK4ssBI+84EqQIgViyewgcdLSyWRJumyMPB7WxGCVaa3JRQo1D1qBmX5n8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3797050},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"9c40ecde052021c01013998417a37b5c340766e0","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","actor":{"name":"dilipkrthapa","type":"user","email":"dilip.thapa@sursatech.com"},"email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3","@types/node":"^22.15.18"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.3.2_1750389410324_0.37456109793264813","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"bun-pty","version":"0.4.0","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.0","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"43c6fcb4f73ba33e869b33943eecdad22409e2de","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.0.tgz","fileCount":16,"integrity":"sha512-6XA1IUZBfY08LDeQhmpXkxVLoN5GwonkymyhqmKU7JnoSpDx6Z5OZVfZ/jLX2t6oC5VIOseoZP/j7Dw6ld//hA==","signatures":[{"sig":"MEUCIHdHyBbiwGrogX47c1kRq8oeokpvmVk9YBfJoMUS+OyHAiEAoCQLuA75ARjwJftEH4jJog6yS1IEDPd6xfdr7aRIs+Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3769522},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"7e25540a1a17ef75ee3cbd61ccddfc08c0bc89de","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/terminal.test.ts","build:rust":"cd rust-pty && cargo build --release","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.2.13","typescript":"^5.8.3","@types/node":"^22.15.18"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.0_1764639699760_0.14480316909062085","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"bun-pty","version":"0.4.1","keywords":["bun","pty","terminal","pseudoterminal","shell","tty","ffi","rust","console","cli","node-pty","cross-platform","native","performance"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.1","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"e6888f8b60a49598526a95968fe8de71dad8ed20","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.1.tgz","fileCount":16,"integrity":"sha512-TEg5+zuaH11APFGZSpOlMsrQoiGlxYOjnWHEL1TXMn2VUAgPetzH/w0qi4CH3UDWKdt1AevlC0iRPA+KwuiTpw==","signatures":[{"sig":"MEUCIC+qPiqoONcEbYjfjOX1qF/QjiQ1rZP/KBSN00mrG7FSAiEAkMVMbaLie/Q8tER3P4IcQwrtVNbziH8BBGxikIBuUI0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3770288},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"2edcbd1eb02c3fe0606ad20d3efa158f9716d166","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.1_1764644176907_0.4348144656989512","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"bun-pty","version":"0.4.2","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.2","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"a2d9d47e8cb0bca4a4c1c193caefef7055e879d3","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.2.tgz","fileCount":16,"integrity":"sha512-sHImDz6pJDsHAroYpC9ouKVgOyqZ7FP3N+stX5IdMddHve3rf9LIZBDomQcXrACQ7sQDNuwZQHG8BKR7w8krkQ==","signatures":[{"sig":"MEUCIH4Kubvv4Xv3d0MfY3igUaOEX6iGMIptCMrHf4J1wYU7AiEAtRWzK5EHmEyYX3/RN3zlvL9mBWgmcx5mNlNhiB/ek9A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3770932},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"57c79253319ab0847e05548cd3604b6e2b06c6f8","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.2_1764649962528_0.004479008065278567","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"bun-pty","version":"0.4.3","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.3","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"39e834cdd878da68fa3b271d0919c1f56f5418d3","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.3.tgz","fileCount":16,"integrity":"sha512-h6/9ykSnEHj/RGtS1tc1pwFWen9RxehU+7xM0IggphUID3h5bKoEGAsk+e+FUfbkwKbeQIG5q3dOoGCc4es06g==","signatures":[{"sig":"MEQCIEctyu18Arkk84A+syfEl1XmEIWOCaMsM0iEEUEH4LHHAiAP+ZawMBAHkueFYH4FlFPbtCHnYrFl2qCRD87wQAEXOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3723813},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"85b9f0a4df17b1026668d0b6b9d0466681a19d60","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"bun build ./src/index.ts --outdir ./dist --target bun --declaration --external bun:ffi && tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"11.6.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.3_1767133564696_0.46844791935786123","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"bun-pty","version":"0.4.4","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.4","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"6251a8ed6ca9fec8b48bae7d9f6794bf8abda814","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.4.tgz","fileCount":12,"integrity":"sha512-WK4G6uWsZgu1v4hKIlw6G1q2AOf8Rbga2Yr7RnxArVjjyb+mtVa/CFc9GOJf+OYSJSH8k7LonAtQOVeNAddRyg==","signatures":[{"sig":"MEUCIQDHn5Kop/Zg9bi+LWRrT2v6IAS1ph7808D8qg9HJzVVMQIgUgUjj35k8ikbTGPN4WHuNtjiJWAAjcCnPAL3KU/jva0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3722556},"main":"./src/index.ts","type":"module","types":"./src/index.ts","engines":{"bun":">=1.0.0"},"gitHead":"2cfbd0f5691374093962d4b53b8fd40fe013e7a1","scripts":{"test":"bun test","build":"bun run build:rust","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"11.6.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.4_1767199044302_0.09494662046335023","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"bun-pty","version":"0.4.5","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.5","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"7d3b8ea34d487817537219bbc03914ca5a4c6b0d","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.5.tgz","fileCount":12,"integrity":"sha512-r8NL1C+z0Dicl9gyi0QV0DAPEBgoKO5CJuecbeS8fpfEkxBHy8XrJ7ibVBS+YRLWjcky3EKl8BY7nY+l4Jv8DQ==","signatures":[{"sig":"MEYCIQCXhW9PkRMHOo/ct36AeZOfJbHj9qh7Oumz5rJOM9iBuAIhAPLbQEytb/XDbYi+28KKf7h6s7g5XfxVEoTReQDWpJ9e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2654574},"main":"./src/index.ts","type":"module","types":"./src/index.ts","engines":{"bun":">=1.0.0"},"gitHead":"794e971658bc3c9e7d5ad34b7d79dde1d56c9b80","scripts":{"test":"bun test","build":"bun run build:rust","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"11.6.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.5_1767311962266_0.5491439314376532","host":"s3://npm-registry-packages-npm-production"}},"0.4.6":{"name":"bun-pty","version":"0.4.6","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.6","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"fdf80ef834b4eee16cc8acd0797d344f8bf2b814","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.6.tgz","fileCount":22,"integrity":"sha512-sMAZgcxuCe4A9iPdPNJFiWu3ZVqkxQbVlEXu9llxZoEll6cLVXx0rXUiFrM4WWgQsmacM+5xNvyzgLAH0NAA3A==","signatures":[{"sig":"MEUCIQD0JUjj9TWVTW2Sw7FIiod2kN+Y0VbcVdRRSMYS1Hj8rwIgOO5BfprAjwp+zJiYd9hrAtZexuBxBNieicOK48JGsls=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2702520},"main":"./src/index.ts","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"d944df1dc7356f790dd99b7cd8b1fac23999511c","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"11.6.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.6_1767606832260_0.8277492477095665","host":"s3://npm-registry-packages-npm-production"}},"0.4.7":{"name":"bun-pty","version":"0.4.7","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.7","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"ef4523da1f6b8c9d0ad45e814c70c2a74043d722","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.7.tgz","fileCount":22,"integrity":"sha512-WXaoS9MaEskEjyTXgKhD95w2O+2TridX8kcYIfliNSqaoGw4xdSi4f6vXzq0xXR9vXue4DVsRkMHHHilA93vpg==","signatures":[{"sig":"MEUCIQCIFMuFxQrAg6KV2NsJn9632wo0B/86Z2qcD0dHmozpvQIge8QVyZycFhhwIkN0hRqz4gM1wAFlmteLzPmiibFNChA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2750967},"main":"./src/index.ts","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"f4621fd1a675a3b103522548acf0575eff6ec9e7","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"11.6.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.7_1768062080716_0.06764297549532405","host":"s3://npm-registry-packages-npm-production"}},"0.4.8":{"name":"bun-pty","version":"0.4.8","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.8","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"bcc7197f600a93de21ccca850f35d9cbe435916a","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.8.tgz","fileCount":22,"integrity":"sha512-rO70Mrbr13+jxHHHu2YBkk2pNqrJE5cJn29WE++PUr+GFA0hq/VgtQPZANJ8dJo6d7XImvBk37Innt8GM7O28w==","signatures":[{"sig":"MEQCIHImgz8kXvhq1NzZq/3RnWptyP9GBuu3hDCYYifqsoOQAiAqkeaiD63WNO/TEgrLif/dFUQOXJeXdMaiM7iwNClb0Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2752092},"main":"./src/index.ts","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"41dd5b887f3f47d7c307fd93f828a75dbee97d5a","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"11.6.2","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.8_1768507203918_0.1372240073682751","host":"s3://npm-registry-packages-npm-production"}},"0.4.9":{"name":"bun-pty","version":"0.4.9","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"author":{"url":"https://github.com/sursaone","name":"Dilip Thapa"},"license":"MIT","_id":"bun-pty@0.4.9","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"dist":{"shasum":"c781c7025f11ad3a2ba9e221fa14bd02a566fcb8","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.9.tgz","fileCount":22,"integrity":"sha512-IUF/B3FANo8vIQ775Zt7Er7lphMpYMhLkes45am2WE8FaVI7KRYtj1rQwliZ18b6GpNzBNWcl7sz9QT5wDFBeQ==","signatures":[{"sig":"MEYCIQD8Vb6eCmsvOBsRmrUhpYlyuGKu7AfS80uLKV84fewXOQIhAP9vrTH2mmIU/Zl2s8v2SEgYLe4o669/DQH+RHfk99FG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2682276},"main":"./src/index.ts","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0"},"gitHead":"8b89bb53c09e582c666d96a3752422e74692e1ec","scripts":{"test":"bun test","build":"bun run build:rust && bun run build:ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean","prepack":"bun run build","prepare":"bun run build","build:ts":"tsc --emitDeclarationOnly --declaration --outDir dist","test:all":"bun run test:unit && bun run test:integration","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","build:rust":"cd rust-pty && cargo build --release","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"repository":{"url":"git+https://github.com/sursaone/bun-pty.git","type":"git"},"_npmVersion":"11.13.0","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.3","typescript":"5.9.3","@types/node":"24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-pty_0.4.9_1780835356983_0.7815296551191244","host":"s3://npm-registry-packages-npm-production"}},"0.4.10":{"name":"bun-pty","version":"0.4.10","description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","main":"./src/index.ts","types":"./dist/index.d.ts","type":"module","repository":{"type":"git","url":"git+https://github.com/sursaone/bun-pty.git"},"homepage":"https://github.com/sursaone/bun-pty#readme","bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"author":{"name":"Dilip Thapa","url":"https://github.com/sursaone"},"license":"MIT","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"scripts":{"prepare":"bun run build","prepack":"bun run build","build:rust":"cd rust-pty && cargo build --release","build:ts":"tsc --emitDeclarationOnly --declaration --outDir dist","build":"bun run build:rust && bun run build:ts","test":"bun test","test:unit":"bun test src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","test:integration":"RUN_INTEGRATION_TESTS=true bun test src/terminal.integration.test.ts","test:all":"bun run test:unit && bun run test:integration","test:coverage":"bun test --coverage src/interfaces.test.ts src/terminal.test.ts src/index.test.ts","clean":"rm -rf ./dist && cd rust-pty && cargo clean"},"engines":{"bun":">=1.0.0"},"devDependencies":{"@types/bun":"1.3.3","@types/node":"24.10.1","typescript":"5.9.3"},"publishConfig":{"access":"public"},"gitHead":"f46192643865ab7fe7a76da63363f5d174210bfe","_id":"bun-pty@0.4.10","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-7WFtCw9MwG9gMMvkX+pwUOavNbgmfL+masMWmO9d/HdFCz8VdR+5G4Q3UCLhy2OJ/ImbWuJ1FHFmm0KdgW102w==","shasum":"fde07cb052b72a1b38b274003f443169d997b167","tarball":"https://registry.npmjs.org/bun-pty/-/bun-pty-0.4.10.tgz","fileCount":24,"unpackedSize":3812204,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bun-pty@0.4.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDqHi5//nOvxuWN6q+aGwzgrJLBs9oQ5hI90VKUDgH5hAIhAKFrxj2wwOnGSRuM5ZCI1ZNrGgOrZKp8wLDv9oX3gZY4"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a96f7de3-79bf-4cd8-9df2-9ae2df35118a"}},"directories":{},"maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bun-pty_0.4.10_1781522536264_0.5250352217244838"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-14T08:56:20.544Z","modified":"2026-06-15T11:22:16.688Z","0.1.0":"2025-05-14T08:56:20.815Z","0.2.0":"2025-05-14T09:13:00.511Z","0.2.1":"2025-05-14T11:22:41.732Z","0.2.2":"2025-05-14T12:56:32.954Z","0.2.4":"2025-05-14T13:21:07.792Z","0.2.5":"2025-05-14T14:11:39.731Z","0.2.6":"2025-05-14T14:26:22.573Z","0.2.8":"2025-05-15T05:29:29.999Z","0.2.9":"2025-05-15T06:29:52.299Z","0.3.0":"2025-05-15T06:43:03.132Z","0.3.1":"2025-05-15T06:56:42.306Z","0.3.2":"2025-06-20T03:16:50.525Z","0.4.0":"2025-12-02T01:41:40.032Z","0.4.1":"2025-12-02T02:56:17.121Z","0.4.2":"2025-12-02T04:32:42.807Z","0.4.3":"2025-12-30T22:26:04.894Z","0.4.4":"2025-12-31T16:37:24.517Z","0.4.5":"2026-01-01T23:59:22.496Z","0.4.6":"2026-01-05T09:53:52.457Z","0.4.7":"2026-01-10T16:21:20.899Z","0.4.8":"2026-01-15T20:00:04.157Z","0.4.9":"2026-06-07T12:29:17.219Z","0.4.10":"2026-06-15T11:22:16.434Z"},"bugs":{"url":"https://github.com/sursaone/bun-pty/issues"},"author":{"name":"Dilip Thapa","url":"https://github.com/sursaone"},"license":"MIT","homepage":"https://github.com/sursaone/bun-pty#readme","keywords":["bun","bun-runtime","bun-pty","pty","pseudoterminal","terminal","tty","shell","rust","ffi","bun-ffi","node-pty","node-pty-alternative","cross-platform","native","performance","console","cli","terminal-emulator","typescript"],"repository":{"type":"git","url":"git+https://github.com/sursaone/bun-pty.git"},"description":"Cross-platform pseudoterminal (PTY) implementation for Bun with native performance","maintainers":[{"name":"dilipkrthapa","email":"dilip.thapa@sursatech.com"}],"readme":"# bun-pty\n\n[![NPM Version](https://img.shields.io/npm/v/bun-pty.svg)](https://www.npmjs.com/package/bun-pty)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Bun Compatible](https://img.shields.io/badge/Bun-%E2%89%A51.0.0-black)](https://bun.sh)\n\nA cross-platform pseudo-terminal (PTY) implementation for Bun, powered by Rust's portable-pty library and Bun's FFI capabilities.\n\n## 🚀 Features\n\n- **Cross-platform** - Works on macOS, Linux, and Windows\n- **Simple API** - Clean Promise-based API similar to node-pty\n- **Type-safe** - Complete TypeScript definitions included\n- **Efficient** - Rust backend with proper error handling and multithreading\n- **Zero dependencies** - No external JavaScript dependencies required\n- **Modern** - Built specifically for Bun using its FFI capabilities\n\n## 📦 Installation\n\n```bash\nbun add bun-pty\n```\n\n## ⚙️ Requirements\n\n- **Bun** 1.0.0 or higher\n- **Rust** is only needed if you're building from source (the npm package includes pre-built binaries)\n\n## 📋 Platform Support\n\n| Platform | Status | Notes |\n|----------|--------|-------|\n| macOS    | ✅     | Fully supported |\n| Linux    | ✅     | Fully supported |\n| Windows  | ✅     | Fully supported |\n\n## 🚦 Usage\n\n### Basic Example\n\n```typescript\nimport { spawn } from \"bun-pty\";\n\n// Create a new terminal\nconst terminal = spawn(\"bash\", [], {\n  name: \"xterm-256color\",\n  cols: 80,\n  rows: 24\n});\n\n// Handle data from the terminal\nterminal.onData((data) => {\n  console.log(\"Received:\", data);\n});\n\n// Handle terminal exit\nterminal.onExit(({ exitCode, signal }) => {\n  console.log(`Process exited with code ${exitCode} and signal ${signal}`);\n});\n\n// Write to the terminal\nterminal.write(\"echo Hello from Bun PTY\\n\");\n\n// Resize the terminal\nterminal.resize(100, 40);\n\n// Kill the process when done\nsetTimeout(() => {\n  terminal.kill();\n}, 5000);\n```\n\n### TypeScript Usage\n\nThe library includes complete TypeScript definitions. Here's how to use it with full type safety:\n\n```typescript\nimport { spawn } from \"bun-pty\";\nimport type { IPty, IExitEvent, IPtyForkOptions } from \"bun-pty\";\n\n// Create typed options\nconst options: IPtyForkOptions = {\n  name: \"xterm-256color\",\n  cols: 100,\n  rows: 30,\n  cwd: process.cwd()\n};\n\n// Create a terminal with proper typing\nconst terminal: IPty = spawn(\"bash\", [], options);\n\n// Typed event handlers\nconst dataHandler = terminal.onData((data: string) => {\n  process.stdout.write(data);\n});\n\nconst exitHandler = terminal.onExit((event: IExitEvent) => {\n  console.log(`Process exited with code: ${event.exitCode}`);\n});\n\n// Clean up when done\ndataHandler.dispose();\nexitHandler.dispose();\n```\n\n### Interactive Shell Example\n\n```typescript\nimport { spawn } from \"bun-pty\";\nimport { createInterface } from \"node:readline\";\n\n// Create a PTY running bash\nconst pty = spawn(\"bash\", [], {\n  name: \"xterm-256color\",\n  cwd: process.cwd()\n});\n\n// Forward PTY output to stdout\npty.onData((data) => {\n  process.stdout.write(data);\n});\n\n// Send user input to the PTY\nprocess.stdin.on(\"data\", (data) => {\n  pty.write(data.toString());\n});\n\n// Handle PTY exit\npty.onExit(() => {\n  console.log(\"Terminal session ended\");\n  process.exit(0);\n});\n\n// Handle SIGINT (Ctrl+C)\nprocess.on(\"SIGINT\", () => {\n  pty.kill();\n});\n```\n\n## 📖 API Reference\n\n### `spawn(file: string, args: string[], options: IPtyForkOptions): IPty`\n\nCreates and spawns a new pseudoterminal.\n\n- `file`: The executable to launch\n- `args`: Arguments to pass to the executable\n- `options`: Configuration options\n  - `name`: Terminal name (e.g., \"xterm-256color\")\n  - `cols`: Number of columns (default: 80)\n  - `rows`: Number of rows (default: 24)\n  - `cwd`: Working directory (default: process.cwd())\n  - `env`: Environment variables\n\nReturns an `IPty` instance.\n\n### `IPty` Interface\n\n```typescript\ninterface IPty {\n  // Properties\n  readonly pid: number;        // Process ID\n  readonly cols: number;       // Current columns\n  readonly rows: number;       // Current rows\n  readonly process: string;    // Process name\n  \n  // Events\n  onData: (listener: (data: string) => void) => IDisposable;\n  onExit: (listener: (event: IExitEvent) => void) => IDisposable;\n  \n  // Methods\n  write(data: string): void;   // Write data to terminal\n  resize(cols: number, rows: number): void;  // Resize terminal\n  kill(signal?: string): void;  // Kill the process\n}\n```\n\n### Event Types\n\n```typescript\ninterface IExitEvent {\n  exitCode: number;\n  signal?: number | string;\n}\n\ninterface IDisposable {\n  dispose(): void;\n}\n```\n\n## 🧪 Testing\n\nbun-pty uses [Bun's built-in test runner](https://bun.com/docs/test) for fast, Jest-compatible testing.\n\n```bash\n# Run all tests\nbun test\n\n# Run unit tests only\nbun run test:unit\n\n# Run integration tests (requires Rust library)\nbun run test:integration\n\n# View test coverage\nbun run test:coverage\n```\n\n## 🔧 Building from Source\n\nIf you want to build the package from source:\n\n```bash\n# Clone the repository\ngit clone https://github.com/sursaone/bun-pty.git\ncd bun-pty\n\n# Install dependencies\nbun install\n\n# Build Rust library and TypeScript\nbun run build\n\n# Run tests\nbun test\n```\n\n## ❓ Troubleshooting\n\n### Prebuilt Binaries\n\nThe npm package includes prebuilt binaries for macOS, Linux, and Windows. If you encounter issues with the prebuilt binaries, you can build from source:\n\n```bash\n# In your project directory\nbun add bun-pty\ncd node_modules/bun-pty\nbun run build\n```\n\n### Common Issues\n\n- **Error: Unable to load shared library**: Make sure you have the necessary system libraries installed.\n- **Process spawn fails**: Check if you have the required permissions and paths.\n\n## 📚 Documentation\n\n- [CHANGELOG.md](./CHANGELOG.md) - Version history and changes\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## 🙏 Credits\n\n- Built specifically for [Bun](https://bun.sh/)\n- Uses [portable-pty](https://github.com/wez/wezterm/tree/main/pty) from WezTerm for cross-platform PTY support\n- Inspired by [node-pty](https://github.com/microsoft/node-pty) for the API design\n","readmeFilename":"README.md"}