Skip to main content

Get the SDK

The JavaScript archive is an installable npm package. It includes compiled JavaScript, type definitions, the MIT license, and public examples. Development source is available in the public repository. The Python wheel includes its Python source. These downloads are hosted by Method; they are not npm or PyPI registry releases.
The JavaScript package and Python binding use matching release versions. Use method --version to check the included runtime. For API use from code, see SDK: JavaScript and Python.

Where the source lives

The public SDK repo owns the SDK source and releases. Open issues and pull requests there. Its release workflow builds the npm archive, Python wheel, and CLI distributions. Each GitHub release includes a SHA-256 manifest. The private app downloads a fixed release and checks its hashes; it does not keep a second SDK source tree. The SDK imports @withmethod/runtime from a fixed commit of method-spec. That repo owns the format, validator, and executor. It no longer installs a method3 command. The SDK owns the single user CLI, method. Python and method-bridge call the same Node implementation.

Build from GitHub

Use Node.js 22 or later and Python 3.9 or later:
The repo includes build instructions, public examples, and CI checks for Node 22 and 24. Python calls the same Node runtime; it is not a separate executor.

Read a release archive

Download and extract a release into a new folder:
The extracted package/ folder contains:
Use the matching release tag in the public repository for its source and build instructions. JavaScript and Python use matching release versions from 0.8 onward. package.json records the SDK version and exact public runtime dependency. The latest URL can change; use an exact release filename from the manifest when you need a fixed version.