Skip to content

Latest commit

 

History

History
66 lines (38 loc) · 1.43 KB

FOR_DEVS.md

File metadata and controls

66 lines (38 loc) · 1.43 KB

🛜 Internet Speed Checker

This is a typescript project created by Abolade Greatness helping you check a user internet upload and download speed in real-time.

👌 Requirement

Node.js should be installed in your system. If not, you can download and install from Node.js Website

🔧 Installation

Install the required modules:

npm install

⏲️ Execute

  • To compile :
 npm run build

🛠️ Project Build

This project includes build scripts for both CommonJS and ECMAScript modules.

CommonJS Build

To compile the CommonJS module, use the following script:

npm run build:commonjs

This script utilizes the TypeScript compiler with the -m commonjs flag.

ECMAScript Module Build

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.

▶️ Start the application

To compile and start the application:

 npm start
  • Type 1 to run application in CommonJS
  • Type 2 to run application in ESM

👋 Issues and Contributions

You can submit issues here - your feedback and contributions are welcome!