Basics
Challenges
Classes
Debugging
Events
External Files
Flow Control
Forms
Functions
Html Elements
Installation
Interfaces
Keywords
Modules
Namespaces
Operators
Reference Files
String
Types
http-server
is a little, light weight npm package which lets you server files as a web site and not as file-based.
This comes in handy when you want to use ajax or load files in js/ts which these scripts cannot do when server "file-based".
To install, type npm install http-server -g
at a console.
Once you do this, you should be able to run your project from it's root folder by simply typing http-server
at a
command prompt.
Helpful links