compression
body-parser
compression | body-parser | |
---|---|---|
3 | 7 | |
2,726 | 5,381 | |
0.1% | 0.1% | |
0.0 | 0.0 | |
about 2 months ago | 16 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compression
-
Need little help on lossless compression.
Node.js compression middleware
-
5 enhancements that will boost your Node.js app
Use the Node.js Deflate and Gzip compression middleware to compress server requests and responses.
-
Supercharge your API with Compression
Express is extensible and has a large number of middleware libraries that can be bolted on. One such library is compression.
body-parser
-
NodeJS Security Best Practices
Using body-parser you can set the limit on the size of the payload
- I built a ready-to-use auth server with TypeScript and Express.js
-
How to use celebrate with Node.js
body-parser is a middleware that parses the body of incoming requests, and exposes the resulting object on req.body
- Why does body-parser use requires in a switch blockquestion
-
Build a Slackbot with Node.js to Monitor your Applications
Now that our app can send us messages, can we send messages back to it? Let's implement the slash command, which will allow us to ask our app for some of its important stats and info. This time, Slack will send an HTTP POST to our app. If we take a look at the Slack docs again, we notice that Slack will send the slash command instruction to the URL we specified in the command set up earlier. We can also see that the POST payload is in the format application/x-www-form-urlencoded. We can set up a body-parser to interpret this data.
-
Creating a Github profile search component in htmx
Our server application is a very simple one. We just render a simple HTML page with a form and input field to search for the user name. And we are using pug as our template engine for the express app and the body-parser library which is Node.js body parsing middleware to parse incoming request bodies in a middleware before your handlers, available under the req.body property.
-
RESTful APIs - Introduction to Express
Body-parser
What are some alternatives?
compress-create-react-app - An NPM package which allows easily adding post build compression to a create-react-app with minimal configuration
cors - Node.js CORS middleware
nodejs-js-compress-benchmark - Benchmark NodeJS/JS compression libraries
cookie-session - Simple cookie-based session middleware
lz4-napi - Fastest lz4 compression library in Node.js, powered by napi-rs and lz4-flex.
cookie-parser - Parse HTTP request cookies
postman-app-support - Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
solaris - A HTML5 game of strategy, intrigue and galactic conquest.
google-search-results-nodejs - SerpApi client library for Node.js. Previously: Google Search Results Node.js.
memphis - Memphis.dev is a highly scalable and effortless data streaming platform
himalaya - JavaScript HTML to JSON Parser