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

tiny static web server that you can launch instantly in any directory (inspired by https://github.com/ddfreyne/adsf/)

  • 1.1.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

A tiny static web server

install

$ npm i -g asdf

usage

assume you have a static file dir : /home/alsotang/d3js

$ cd /home/alsotang/d3js
$ asdf
static server is listening at port http://localhost:5000
static dir is /home/alsotang/d3js

then you can visit http://localhost:5000/index.html from browser.

  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

Keywords

FAQs

Package last updated on 12 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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