Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

dev-server

0.1.0 • Public • Published

dev-server

Serving static files and directory indexes for you

Install

$ npm install dev-server -g

Run

$ =4000 DEV_SERVER_ROOT=. dev-server

Environment Variables

  • DEV_SERVER_PORT — port to listen, default 4000
  • DEV_SERVER_ROOT — root directory

Special files

File dev-server-hooks.js or .dev-server-hooks.js is loaded on start and called with express app instance

Keywords

none

install

npm i dev-server

Downloadsweekly downloads

142

version

0.1.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability