Skip to content

MoHProto/JavaScriptSDK

Repository files navigation

MoHProto JavaScript/TypeScript SDK

This SDK is designed to be universal: it should run in React Native, in the browser, in Node.js, and in Deno.

Development

From JavaScriptSDK/:

  • Install deps: npm install
  • Typecheck: npm run typecheck
  • Build: npm run build

Design constraints (important)

  • The core must not depend on Node-only APIs (no fs, net, tls, Buffer, etc.).
  • Prefer standard Web APIs available across platforms (e.g. fetch, URL, TextEncoder, crypto via globalThis when possible).
  • Platform-specific wiring belongs in src/platform/*.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors