Skip to content

fixermark/typescript-node-testbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Node.js testbench

A bare-bones testbench for running TypeScript-written code in a browser via compiling with webpack and running in Node.

To use

npm ci to install the dependencies from Node, then npm run start to compile the code under src and launch a server at localhost:8000. Navigate to http://localhost:8000/index.htm to load the script. You should see the text "scripts on," indicating the code in src/index.ts ran.

Modify public/index.htm to change the context of what is loaded. Editing files in src automatically triggers a recompilation.

About

A bare-bones testbench for running TypeScript-written code in a browser via compiling with webpack.

Resources

License

Stars

Watchers

Forks

Packages

No packages published