Installation
Package managers
Install the npm package blyp-js. The source repository remains Blyphq/blyp.
bun add blyp-jsnpm install blyp-jsyarn add blyp-jspnpm add blyp-jsRuntime and language requirements
- Bun
1.2+or Node.js18+ - TypeScript
5+
Optional framework peers
Blyp ships one package, but framework adapters rely on the framework you already use:
| Adapter | Import path | Optional peer |
|---|---|---|
| Elysia | blyp-js/elysia | elysia |
| Expo | blyp-js/expo | expo-network in your Expo app |
| Hono | blyp-js/hono | hono |
| Express | blyp-js/express | express |
| Fastify | blyp-js/fastify | fastify |
| NestJS | blyp-js/nestjs | @nestjs/*, rxjs |
| Next.js App Router | blyp-js/nextjs | next |
| TanStack Start | blyp-js/tanstack-start | @tanstack/react-start |
| SvelteKit | blyp-js/sveltekit | @sveltejs/kit |
| Cloudflare Workers | blyp-js/workers | none |
Published subpaths
These are the package exports exposed by blyp-js@0.1.0:
blyp-jsblyp-js/standaloneblyp-js/clientblyp-js/elysiablyp-js/expoblyp-js/honoblyp-js/expressblyp-js/fastifyblyp-js/nestjsblyp-js/nextjsblyp-js/tanstack-startblyp-js/sveltekitblyp-js/workers
Bootstrapped local config
When Blyp runs inside an application project, it will bootstrap a blyp.config.json file and add logs to .gitignore if they do not already exist. See Configuration before relying on the defaults in production.
Expo-specific install
If you are using the Expo integration, install the Expo network module in your app:
npx expo install expo-networkLocal development
git clone https://github.com/Blyphq/blyp.git
cd blyp
bun install
bun run test
bun run build
bun run type-check