@yunflyjs/yunfly-plugin-body-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

body-parser 插件

简介

  • @yunflyjs/yunfly-plugin-body-parser: yunfly 获取body参数插件

使用

  • 插件已内置在yunfly框架中
  1. config.default.ts 配置项 (可选)
config.bodyParser = {
  enable: true,
  jsonLimit: '5mb',
  formLimit: '5mb',
  queryString: {
    parameterLimit: 5 * 1024 * 1024,
  },
};

Package Sidebar

Install

npm i @yunflyjs/yunfly-plugin-body-parser

Weekly Downloads

0

Version

0.0.10

License

MIT

Unpacked Size

3.78 kB

Total Files

9

Last publish

Collaborators

  • wangweianger