4kb-body-parser 中文文档教程
4kb body parser
一个简单的用于 express 的 body-parser 中间件,是的……不到 4kb
Current features
- Read JSON request body
- Read urlencoded request body
Usage
const bodyParser = require("4k-body-parser");
// Urlencoded
app.use(bodyParser.urlencoded);
// Or JSON
app.use(bodyParser.json);
4kb body parser
A simple body-parser middleware for express, and yes.. under 4kb
Current features
- Read JSON request body
- Read urlencoded request body
Usage
const bodyParser = require("4k-body-parser");
// Urlencoded
app.use(bodyParser.urlencoded);
// Or JSON
app.use(bodyParser.json);