Skip to content

Node.js body parsing middleware [Peacock fork]

License

Notifications You must be signed in to change notification settings

thepeacockproject/body-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

body-parser Peacock Fork

Changes made:

  • Clean out the package to only it's base
  • Add TypeScript type definitions
  • Update iconv-lite to 0.6
  • Remove extra dependencies on depd, debug, raw-body (see lib/rawBody.js), qs
  • Add prototype pollution protection to JSON body-parser middleware
  • Switch dev setup to use Yarn 4, remove tests
  • Require Node 16 or newer
  • Add TypeScript and types packages to dev dependencies for extra IDE completion and other features

Why does this exist?

Peacock bundles all dependencies into chunks before being distributed to users. We want a smaller version of this library (fewer dependencies, smaller bundle size). We are putting it as an open source project mostly for convenience, and don't suggest you use this package.

About

Node.js body parsing middleware [Peacock fork]

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%