@elysiajs/node
TypeScript icon, indicating that this package has built-in type declarations

1.2.6 • Public • Published

@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)

Package Sidebar

Install

npm i @elysiajs/node

Weekly Downloads

1,714

Version

1.2.6

License

MIT

Unpacked Size

232 kB

Total Files

26

Last publish

Collaborators

  • aomkirby123