Skip to content
Public template

About

Template to build and release Elysia plugins 🦊

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elysia-plugin

elysia yolk-oss npm version npm downloads bundle License XO code style

description

Installation

bun add elysia-plugin

Usage

import { Elysia, t } from 'elysia'
import { plugin } from 'elysia-plugin'

const app = new Elysia()
  .use(plugin())
  .get('/', ({ plugin }) => plugin)
  .listen(8080)

console.log(`Listening on http://${app.server!.hostname}:${app.server!.port}`)

Checkout the examples and tests folders on github.

Note

Replace elysia-plugin, _description_ and yolk-oss globally to use this template.

Important

Don't forget to update installation and usage guide

About Template

Build with:

  • xo is used for code linting and formating
  • bumpp is used for version bumping
  • unbuild is used for building

License

MIT

About

Template to build and release Elysia plugins 🦊

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages