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

0.6.1 • Public • Published

@elysiajs/fn

Plugin for using Elysia Fn

Installation

bun add @elysiajs/fn

Example

import { Elysia } from 'elysia'

const app = new Elysia()
    .fn({
        sum: (a: number, b: number) => a + b
    })

Readme

Keywords

Package Sidebar

Install

npm i @elysiajs/fn

Weekly Downloads

134

Version

0.6.1

License

MIT

Unpacked Size

41.7 kB

Total Files

18

Last publish

Collaborators

  • aomkirby123