The pillarjs GitHub organization contains a number of modules for utility functions that may be generally useful.
|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.
|Contains the logic behind CSRF token creation and verification. Use this module to create custom CSRF middleware.
|Function to invoke as the final step to respond to HTTP request.
|Parse a URL with caching.
|Thin wrapper around path-to-regexp to make extracting parameter names easier.
|Turn an Express-style path string such as ``/user/:name` into a regular expression.
|Resolves a relative path against a root path with validation.
|Simple middleware-style router.
|Trie-based URL router for defining and matching URLs.
|Library for streaming files as a HTTP response, with support for partial responses (ranges), conditional-GET negotiation, and granular events.
|View system similar to
res.render() inspired by co-views and consolidate.js.
For additional low-level HTTP-related modules, see jshttp .