0.1.4 • Published 7 years ago
midd-url v0.1.4
URL middleware for midd
Usage
const middUrl = require('midd-url');
app.use(middUrl());
API
It will attach attributes to request
object. Attributes include href
, protocol
, auth
, host
, hostname
, port
, path
, pathname
, search
, query
. See URL Object
License
Licensed under MIT
Copyright (c) 2017 Tian Jian