mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-26 02:54:58 +00:00
Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: bjohansebas <103585995+bjohansebas@users.noreply.github.com> Co-authored-by: carlosstenzel <3890516+carlosstenzel@users.noreply.github.com>
3.1 KiB
3.1 KiB
layout, title, description, menu, order, redirect_from
| layout | title | description | menu | order | redirect_from |
|---|---|---|---|---|---|
| page | Express utilities | Discover utility modules related to Express.js and Node.js, including tools for cookies, CSRF protection, URL parsing, routing, and more to enhance your applications. | resources | 4 |
Express utility functions
The pillarjs GitHub organization contains a number of modules for utility functions that may be generally useful.
| Módulos utilitários | Descrição |
|---|---|
| cookies | Get and set HTTP(S) cookies that can be signed to prevent tampering, using Keygrip. Can be used with the Node.js HTTP library or as Express middleware. |
| csrf | Contains the logic behind CSRF token creation and verification. Use this module to create custom CSRF middleware. |
| finalhandler | Function to invoke as the final step to respond to HTTP request. |
| parseurl | Parse a URL with caching. |
| path-to-regexp | Turn an Express-style path string such as ``/user/:name` into a regular expression. |
| resolve-path | Resolves a relative path against a root path with validation. |
| router | Simple middleware-style router. |
| send | Library for streaming files as a HTTP response, with support for partial responses (ranges), conditional-GET negotiation, and granular events. |
For additional low-level HTTP-related modules, see jshttp.