Installation
npm install @minetech/node
Requires Node 18 or newer. Zero runtime dependencies.
Both ESM and CommonJS are supported:
import { MineTech } from '@minetech/node'; // ESM
const { MineTech } = require('@minetech/node'); // CJS
Subpath entry points:
| Import | Contents |
|---|---|
@minetech/node | Client and everything below |
@minetech/node/webhooks | Signature verification only — no client needed |
@minetech/node/errors | Error classes |
@minetech/node/types | Type definitions |
Prefer @minetech/node/webhooks in a receiver so nothing else is pulled in.