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

asdf

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asdf - npm Package Compare versions

Comparing version 1.1.0 to 1.1.3

5

index.js
var express = require('express');
var server = express();
var path = require('path');

@@ -19,4 +20,4 @@ var procressDir = process.cwd();

var startServer = function (port, dir) {
dir = dir || procressDir;
port = port !== void 0 ? port : 5000;
dir = dir ? path.join(procressDir, dir) : procressDir;
port = port || 5000;

@@ -23,0 +24,0 @@ server.use(express.static(dir));

2

package.json
{
"name": "asdf",
"version": "1.1.0",
"version": "1.1.3",
"description": "tiny static web server that you can launch instantly in any directory (inspired by https://github.com/ddfreyne/adsf/) ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,4 +20,15 @@ ## A tiny static web server

```bash
Usage: asdf [options]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --port <port> which port to use, default is 5000
-d, --dir <dir> which dir to serve, default is which dir you call `adsf`
```
## license
MIT
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