Search Documentation
Search guides, functions, classes, interfaces, and more
Install @mobyapps packages
Add @mobyapps/bridge, @mobyapps/sdk, @mobyapps/omapi, @mobyapps/splash, and related tooling to your project.
Registry access
| What | Who can access |
|---|---|
pnpm add @mobyapps/... | No token — anonymous pull via npm.mobyapps.dev |
| API reference | This site — SDK, Bridge, OMAPI |
Published packages: @mobyapps/*@latest (currently 1.0.8).
1. Configure the registry
In your project root (same folder as package.json), create or update .npmrc:
@mobyapps:registry=https://npm.mobyapps.dev/
Commit this file — it contains no secrets.
2. Install packages
pnpm (recommended):
pnpm add @mobyapps/bridge @mobyapps/sdk @mobyapps/omapi
npm:
npm install @mobyapps/bridge @mobyapps/sdk @mobyapps/omapi
yarn:
yarn add @mobyapps/bridge @mobyapps/sdk @mobyapps/omapi
Pin a specific version:
pnpm add @mobyapps/sdk@1.0.8 @mobyapps/bridge@1.0.8 @mobyapps/omapi@1.0.8
3. Use in code
import { bridge } from '@mobyapps/bridge'; import { moby } from '@mobyapps/sdk'; import { omapi } from '@mobyapps/omapi';
You do not need @mobyapps/utils — it is bundled into @mobyapps/sdk.
Quick start (new project)
mkdir my-miniapp && cd my-miniapp echo '@mobyapps:registry=https://npm.mobyapps.dev/' > .npmrc pnpm init pnpm add @mobyapps/bridge @mobyapps/sdk @mobyapps/omapi