1.0.32 • Published 3 years ago

@kenote/koa-session v1.0.32

Weekly downloads
17
License
MIT
Repository
github
Last release
3 years ago

@kenote/koa-session

Session plug-in based on Koa for Kenote.js.

NPM Version NPM Downloads Gratipay

Usage

index.ts

import { Module, ServerFactory } from '@kenote/core'
import { ServiceEngine } from '@kenote/koa'
import session from '@kenote/koa-session'
import redisStore from 'koa-redis'

@Module({
  imports: [],
  plugins: [
    session({
      store: redisStore(),
    })
  ],
})
class AppModule {}

async bootstarp () {
  let factory = await ServerFactory(new ServiceEngine()).create(AppModule)
  factory.server.listen(4000)
}

MIT License.

1.0.32

3 years ago

1.0.31

3 years ago

1.0.30

4 years ago

1.0.27

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.5

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago