Socket
Socket
Sign inDemoInstall

midd

Package Overview
Dependencies
8
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

2

dist/index.js

@@ -6,3 +6,3 @@ 'use strict';

const onFinished = require('on-finished');
const compose = require('midd-compose');
const compose = require('uni-compose');
const bindExpress = require('./express');

@@ -9,0 +9,0 @@

{
"name": "midd",
"description": "A light-weight, promise-based and middleware-driven web framework",
"version": "0.1.1",
"description": "A light-weight, promise-based, middleware-driven and express-compatible web framework",
"version": "0.1.2",
"scripts": {},

@@ -15,4 +15,4 @@ "main": "dist/index.js",

"on-finished": "^2.3.0",
"midd-compose": "^0.1.0",
"midd-router": "^0.1.1"
"uni-compose": "^0.1.1",
"midd-router": "^0.1.2"
},

@@ -19,0 +19,0 @@ "devDependencies": {},

@@ -1,2 +0,2 @@

# A light-weight, promise-based and middleware-driven web framework
# A light-weight, promise-based, middleware-driven and express-compatible web framework

@@ -36,3 +36,3 @@ ### Features

#### middServer()
create an app server.
Create an app server.

@@ -52,6 +52,6 @@ #### app.use(...middlewares)

#### app.listener()
Used at `http.createServer(app.listerner())`
Used like `http.createServer(app.listerner())`
## Middlewares
* [midd-router](/packages/midd-router): Router for midd
* [midd-router](/packages/midd-router): Router that support `use()`, `get()`, `post()` etc
* [midd-static](/packages/midd-static): Serve static files

@@ -81,3 +81,3 @@ * [midd-session](/packages/midd-session): Session middleware

### Contributing
Checkout our [CONTRIBUTING.md](/CONTRIBUTING.md) if you want to help out!
Checkout the [CONTRIBUTING.md](/CONTRIBUTING.md) if you want to help

@@ -84,0 +84,0 @@ ### License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc