GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TypeScriptSamples/umd at master · freewater007/TypeScriptSamples

Expand file tree

/

umd

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

umd

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
browser
browser
 
 
node
node
 
 
shared
shared
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

README.md

Fetch dependencies:

npm install

Compile TypeScript source code

node node_modules/typescript/bin/tsc.js

Start browser version of the sample using http-server on custom port (code should be compiled prior to this step)

node node_modules/http-server/bin/http-server -p 8080 -o

'-p' sets the port to use, default port is 8080. If it is taken pick any port that is free. After server is started open 'localhost:8080' in a browser.

Run example using Node (code should be compiled prior to this step)

node node/app.js

Shortcuts for doing compile\run steps from above:

Browser

npm run browser

Node

npm run node
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.