fastify-session-knex-store

时间:2021-04-13 19:20:09
【文件属性】:
文件名称:fastify-session-knex-store
文件大小:96KB
文件格式:ZIP
更新时间:2021-04-13 19:20:09
TypeScript FastifySession KnexStore Knex会话存储以进行。 需要来处理会话。 依靠与您选择的数据库进行交互。 使用构建,用于通过库中的导出类型进行静态类型检查。 用法 npm install @chriswk/fastify-session-knex-store npm install knex --save # or yarn add knex 另外,您还需要安装您选择的knex适配器。 请参阅 import createFastify , { FastifyInstance , FastifyServerOptions } from 'fastify' ; import fastifyCookie from 'fastify-cookie' ; import KnexStore from '@chriswk/fastify-session-knex-store
【文件预览】:
fastify-session-knex-store-main
----.gitignore(58B)
----package.json(1KB)
----src()
--------KnexStore.ts(2KB)
--------index.ts(80B)
----LICENSE.md(1KB)
----jest.config.js(231B)
----knexfile.ts(271B)
----tsconfig.json(275B)
----.github()
--------workflows()
----.eslintrc.js(184B)
----README.md(4KB)
----migrations()
--------20210413082546_session_table.ts(411B)
----.npmignore(94B)
----test()
--------setup.ts(236B)
--------tsconfig.json(239B)
--------spec()
--------typings()
----.prettierrc(98B)
----yarn.lock(209KB)

网友评论