Skip to content

ExodusMovement/elysiajs-node

 
 

Repository files navigation

@elysiajs/node

Adapter for elysia to use Elysia in Nodejs environment.

Installation

bun add @elysiajs/node

Example

import { Elysia } from 'elysia'
import { node } from '@elysiajs/node'

const app = new Elysia({ adapter: node() })
    .get('/', () => 'Hello Node!')
    .listen(3000)

Note

Node adapter is not feature complete yet. Some features are not supported, such as:

  • not support ws method

About

Elysia Node Adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.8%
  • JavaScript 3.2%