bodyparser
Koa body parsing middleware
File Explorer
Download Latest Version (.zip)- ci.yml
- index.example.cjs
- index.example.mjs
- index.example.ts
- body-parser.ts
- body-parser.types.ts
- body-parser.utils.ts
- index.ts
- raw.json
- middleware.test.ts
- test-utils.ts
- .gitignore
- .huskyrc
- .xo-config.json
- History.md
- jest.config.ts
- LICENSE
- package.json
- README.md
- tsconfig.json
- tsup.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/koajs/bodyparser
Downloads the entire project code from GitHub to your computer.
cd bodyparser
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
$ npm i @koa/bodyparser --save
Type this command into your terminal and run it.
$ npm install koa-bodyparser@2 --save
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
