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

ctl

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ctl - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

README.md

7

host.js

@@ -10,2 +10,3 @@

var req = kwargs.req;
var next = kwargs.next;

@@ -30,2 +31,5 @@

}
self.next = function () {
process.nextTick(next || function(){});
}
self.param = function (name, def) {

@@ -39,3 +43,3 @@ return req.param(name, def || '');

self.json = function (obj) {
res.writeHead(200, { 'Content-Type': 'application/json' });
res.writeHead(200, { 'Content-Type': 'application/json; charset=utf-8' });
res.end(JSON.stringify(obj));

@@ -137,2 +141,3 @@ }

res: arguments[1] || null,
next: arguments[2] || null,
defaults: options,

@@ -139,0 +144,0 @@ };

2

package.json
{ "name": "ctl"
, "version": "0.1.4"
, "version": "0.1.5"
, "author": "Leander Lee"

@@ -4,0 +4,0 @@ , "description": "Controller module for NodeJS. Made to be extremely hackable and light!"

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