</>PackageGraphPackageGraph

zigpty

npmv0.2.1

Tiny, cross-platform PTY library for Node.js, built in Zig, also usable as a standalone Zig package. Supports Linux, macOS, Android and Windows (via ConPTY).

Not recommended for new projects

No — zigpty should not be adopted for new projects. No license declared — you have no explicit right to use this code.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 79 days ago. 15 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 412 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • FLicense: grade F, Failing.

    No license declared — you have no explicit right to use this code.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding zigpty to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

412 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the zigpty README.

import { spawn } from "zigpty";

// auto-detects default shell ($SHELL on Unix, %COMSPEC% on Windows)
const pty = spawn(undefined, [], {
  cols: 80,
  rows: 24,
  terminal: {
    data(terminal, data: Uint8Array) {
      process.stdout.write(data);
    },
  },
  onExit(exitCode, signal) {
    console.log("exited:", exitCode);
  },
Example truncated — see the full README.

Dependencies

Declared by zigpty v0.2.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (7)

@types/bun ^1.3.11@types/node ^25.5.2changelogen ^0.6.2obuild ^0.4.33oxfmt ^0.44.0typescript ^6.0.2vitest ^4.1.3

Used by

Popular packages that depend on zigpty.

Relationship graph

Dependencies (left) and dependents (right) of zigpty.

@devframes/hub@devframes/plugin…zigpty
zigpty dependencies dependents

Frequently installed together

Release history

15 releases in the last two years, typically about 0 days apart.

Recent versions of zigpty
VersionPublishedSizeLicense
0.2.1latest2 months ago412 KB
0.2.03 months ago409 KB
0.1.65 months ago334 KB
0.1.55 months ago248 KB
0.1.45 months ago247 KB
0.1.35 months ago247 KB
0.1.25 months ago247 KB
0.1.15 months ago246 KB
0.1.05 months ago242 KB
0.0.75 months ago242 KB
0.0.65 months ago231 KB
0.0.45 months ago229 KB
0.0.35 months ago229 KB
0.0.25 months ago172 KB
0.0.05 months ago45 B

Overview

zigpty is an npm package that tiny, cross-platform PTY library for Node.js, built in Zig, also usable as a standalone Zig package. Supports Linux, macOS, Android and Windows (via ConPTY). It has 2 known dependents in the graph. The latest version is 0.2.1.

Who should use it

Teams working in the npm ecosystem who need tiny, cross-platform PTY library for Node.js, built in Zig, also usable as a standalone Zig package. Supports Linux, macOS, Android and Windows (via ConPTY) and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Actively published to the registry.

Cons

  • No bundled TypeScript types (may require a separate @types package).
  • No license detected — review usage terms before adopting.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use zigpty?

No — zigpty should not be adopted for new projects. No license declared — you have no explicit right to use this code.

How do I install zigpty?

Run `npm install zigpty` to add zigpty to your npm project.

What license is zigpty released under?

No license was detected in zigpty's metadata; review the repository before use.

How popular is zigpty?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on zigpty.

Is zigpty still maintained?

The most recent release of zigpty (v0.2.1) was published 2 months ago.

Does zigpty run install scripts?

No. zigpty does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.