Skip to content

kussberg/node-ts-esm-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ts-esm-example

This is an example of a Node.js service using TypeScript and compiling to ES Modules. It uses SWC for compilation, nodemon for watching files and tsx for executing TypeScript files.

It includes Fastify to demonstrate the live-reloading functionality of an HTTP server and includes the chalk npm package in order to verify that it is able to import packages published as both CommonJS and ES Modules.

Installation and usage

Run npm install and after that you should be able to run npm run build or npm run start:dev.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%