Skip to main content

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:

ImportContents
@minetech/nodeClient and everything below
@minetech/node/webhooksSignature verification only — no client needed
@minetech/node/errorsError classes
@minetech/node/typesType definitions

Prefer @minetech/node/webhooks in a receiver so nothing else is pulled in.