Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quinn

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quinn - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

5

express.js
'use strict';
const runApplication = require('./').runApplication;
const quinn = require('./');
const runApplication = quinn.runApplication;
const respond = quinn.respond;

@@ -25,2 +27,3 @@ function createApp(handler) {

createApp.createApp = createApp;
createApp.respond = respond;
createApp.runApplication = runApplication;

3

index.js
'use strict';
const respond = require('./respond');
const NOT_FOUND = new Buffer('Not Found\n', 'utf8');

@@ -47,2 +49,3 @@ const INTERNAL_ERROR = new Buffer('Internal Server Error\n', 'utf8');

createApp.createApp = createApp;
createApp.respond = respond;
createApp.runApplication = runApplication;
{
"name": "quinn",
"version": "3.1.0",
"version": "3.2.0",
"description": "Maybe coming some day.",

@@ -5,0 +5,0 @@ "main": "dist/quinn.js",

@@ -7,8 +7,6 @@ # Quinn

import { createServer } from 'http';
import { createApp, respond } from 'quinn';
import quinn from 'quinn';
import respond from 'quinn/respond';
const app = createApp(req => respond({ body: 'Hello World!' }));
const app = quinn(req => respond({ body: 'Hello World!' }));
createServer(app).listen(3000);

@@ -68,4 +66,3 @@ ```

import express from 'express';
import quinn from 'quinn/express';
import respond from 'quinn/respond';
import { createApp as quinn, respond } from 'quinn/express';

@@ -72,0 +69,0 @@ const app = express();

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc