Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

static-dir

sunhaikuo9ISC1.0.7

Start a Web Server for your current or relative directory

static, web server

readme

Start a Web Server for your current or relative directory

Installation


npm install -g static-dir

Usage


  • current directory
cd TO_YOUR_DIR

static
  • relative directory
static www

note: make sure the 'www' folder is exit, else it's will work on your PWD directory*