midd-url

0.1.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i midd-url

Weekly Downloads

3

Version

0.1.4

License

MIT

Last publish

Collaborators

  • kiliwalk
  • tianjianchn