This is a typescript project created by Abolade Greatness
helping you check a user internet upload and download speed in real-time.
Node.js should be installed in your system. If not, you can download and install from Node.js Website
Install the required modules:
npm install
- To compile :
npm run build
This project includes build scripts for both CommonJS and ECMAScript modules.
To compile the CommonJS module, use the following script:
npm run build:commonjs
This script utilizes the TypeScript compiler with the -m commonjs flag.
To compile the ECMAScript module, run the following script:
npm run build:esm
This script uses the TypeScript compiler with the [-m esnext --outDir dist/esm
] flags.
The [--outDir
] flag specifies the output directory for the ECMAScript module.
To compile and start the application:
npm start
- Type 1 to run application in CommonJS
- Type 2 to run application in ESM
You can submit issues here - your feedback and contributions are welcome!