session/Readme.md

23 lines
324 B
Markdown
Raw Normal View History

2020-09-18 18:27:00 +08:00
![module info](https://nodei.co/npm/@gm5/session.png?downloads=true&downloadRank=true&stars=true)
2020-09-18 18:25:56 +08:00
2020-09-18 18:27:00 +08:00
# @gm5/session
2020-09-18 18:25:56 +08:00
2020-09-27 14:23:28 +08:00
> 会话拓展包。
2020-09-18 18:25:56 +08:00
## 安装
```bash
2020-09-18 18:27:00 +08:00
npm install @gm5/session
2020-09-18 18:25:56 +08:00
```
2020-09-27 14:23:28 +08:00
## 使用
```js
import { sessionPackage, sessionConnect } from '@gm5/session'
app.install(sessionPackage)
app.use(sessionConnect)
```