bun-pty
Version:
Cross-platform pseudoterminal (PTY) implementation for Bun with native performance
78 lines (77 loc) • 1.85 kB
JSON
{
"name": "bun-pty",
"version": "0.4.5",
"description": "Cross-platform pseudoterminal (PTY) implementation for Bun with native performance",
"main": "./src/index.ts",
"types": "./src/index.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": "bun run build:rust",
"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"
},
"files": [
"src/index.ts",
"src/terminal.ts",
"src/interfaces.ts",
"README.md",
"LICENSE",
"CHANGELOG.md",
"rust-pty/target/release/*.so",
"rust-pty/target/release/*.dylib",
"rust-pty/target/release/*.dll"
],
"devDependencies": {
"@types/bun": "1.3.3",
"@types/node": "24.10.1",
"typescript": "5.9.3"
},
"publishConfig": {
"access": "public"
}
}