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 5.0.2 to 5.0.3

2

package.json

@@ -7,3 +7,3 @@ {

"name": "ctl",
"version": "5.0.2",
"version": "5.0.3",
"dependencies": {

@@ -10,0 +10,0 @@ "app-module-path": "^2.2.0",

@@ -21,3 +21,8 @@ # ctl

In `index.js`:
You can run a server simply with
```bash
PORT=8001 node -e 'require("ctl").init()'
```
Or for more complex settings, `index.js`:
```js

@@ -24,0 +29,0 @@ require('ctl').init(opts) // options optional, see below for full doc

@@ -13,3 +13,3 @@ const http = require('http');

app.set('x-powered-by', false);
if (opts.static) {
if (opts.staticDir && opts.static !== false) {
app.use(opts.static, express.static(opts.staticDir));

@@ -16,0 +16,0 @@ }

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