JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 64488
  • Score
    100M100P100Q149825F
  • License

A simple http server to serve static resource files from a local directory.

Package Exports

  • static-server

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (static-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

#Node static server A simple http server to serve static resource files from a local directory.

Getting started

  • Install node.js
  • Install npm package globally npm -g install static-server
  • Go to the folder you want to serve
  • Run the server static-server .

##FAQ

  • Can I use this project in production environments? Obviously not.
  • Can this server run php, ruby, python or any other cgi script? Absolutely not.
  • Is this server ready to receive thousands of requests? I hope not.

License

The MIT License (MIT)