├── .editorconfig ├── .github └── workflows │ ├── checks.yml │ ├── labels.yml │ ├── release.yml │ └── stale.yml ├── .gitignore ├── .npmrc ├── .prettierignore ├── LICENSE.md ├── README.md ├── bin └── test.ts ├── eslint.config.js ├── factories ├── file_factory.ts ├── main.ts └── middleware_factory.ts ├── index.ts ├── package.json ├── resources ├── UNICORN-UPPERCASE.PNG ├── sample-pdf-download-10-mb.pdf ├── sample.xls ├── sample.xlsx ├── unicorn-wo-ext └── unicorn.png ├── src ├── bindings │ └── request.ts ├── bodyparser_middleware.ts ├── debug.ts ├── define_config.ts ├── form_fields.ts ├── multipart │ ├── file.ts │ ├── main.ts │ ├── part_handler.ts │ ├── stream_file.ts │ └── validators │ │ ├── extensions.ts │ │ └── size.ts ├── parsers │ ├── form.ts │ ├── json.ts │ ├── multipart.ts │ └── text.ts ├── types.ts └── utils.ts ├── tests ├── body_parser.spec.ts ├── form_fields.spec.ts ├── helpers.ts ├── multipart.spec.ts ├── multipart_file_factory.spec.ts ├── parsers │ ├── form.spec.ts │ ├── json.spec.ts │ └── raw.spec.ts └── stream_file.spec.ts ├── tsconfig.json └── typedoc.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/.github/workflows/checks.yml -------------------------------------------------------------------------------- /.github/workflows/labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/.github/workflows/labels.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/.prettierignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/README.md -------------------------------------------------------------------------------- /bin/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/bin/test.ts -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/eslint.config.js -------------------------------------------------------------------------------- /factories/file_factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/factories/file_factory.ts -------------------------------------------------------------------------------- /factories/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/factories/main.ts -------------------------------------------------------------------------------- /factories/middleware_factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/factories/middleware_factory.ts -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/package.json -------------------------------------------------------------------------------- /resources/UNICORN-UPPERCASE.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/resources/UNICORN-UPPERCASE.PNG -------------------------------------------------------------------------------- /resources/sample-pdf-download-10-mb.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/resources/sample-pdf-download-10-mb.pdf -------------------------------------------------------------------------------- /resources/sample.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/resources/sample.xls -------------------------------------------------------------------------------- /resources/sample.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/resources/sample.xlsx -------------------------------------------------------------------------------- /resources/unicorn-wo-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/resources/unicorn-wo-ext -------------------------------------------------------------------------------- /resources/unicorn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/resources/unicorn.png -------------------------------------------------------------------------------- /src/bindings/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/bindings/request.ts -------------------------------------------------------------------------------- /src/bodyparser_middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/bodyparser_middleware.ts -------------------------------------------------------------------------------- /src/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/debug.ts -------------------------------------------------------------------------------- /src/define_config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/define_config.ts -------------------------------------------------------------------------------- /src/form_fields.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/form_fields.ts -------------------------------------------------------------------------------- /src/multipart/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/multipart/file.ts -------------------------------------------------------------------------------- /src/multipart/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/multipart/main.ts -------------------------------------------------------------------------------- /src/multipart/part_handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/multipart/part_handler.ts -------------------------------------------------------------------------------- /src/multipart/stream_file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/multipart/stream_file.ts -------------------------------------------------------------------------------- /src/multipart/validators/extensions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/multipart/validators/extensions.ts -------------------------------------------------------------------------------- /src/multipart/validators/size.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/multipart/validators/size.ts -------------------------------------------------------------------------------- /src/parsers/form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/parsers/form.ts -------------------------------------------------------------------------------- /src/parsers/json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/parsers/json.ts -------------------------------------------------------------------------------- /src/parsers/multipart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/parsers/multipart.ts -------------------------------------------------------------------------------- /src/parsers/text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/parsers/text.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tests/body_parser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/body_parser.spec.ts -------------------------------------------------------------------------------- /tests/form_fields.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/form_fields.spec.ts -------------------------------------------------------------------------------- /tests/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/helpers.ts -------------------------------------------------------------------------------- /tests/multipart.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/multipart.spec.ts -------------------------------------------------------------------------------- /tests/multipart_file_factory.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/multipart_file_factory.spec.ts -------------------------------------------------------------------------------- /tests/parsers/form.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/parsers/form.spec.ts -------------------------------------------------------------------------------- /tests/parsers/json.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/parsers/json.spec.ts -------------------------------------------------------------------------------- /tests/parsers/raw.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/parsers/raw.spec.ts -------------------------------------------------------------------------------- /tests/stream_file.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tests/stream_file.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adonisjs/bodyparser/HEAD/typedoc.json --------------------------------------------------------------------------------