Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Latest commit

 

History

History
16 lines (16 loc) · 403 Bytes

File metadata and controls

16 lines (16 loc) · 403 Bytes

Usage

Aside from having Git and Node V22.6.0+ already installed:

  1. Inside your directory of choice run:
git clone https://github.com/PredatorIWD/node-ts-task
  1. Install dependencies from inside that directory:
cd node-ts-task
npm i
  1. Run the typescript file directly with Node.js V22.6.0+:
node --experimental-strip-types main.ts
  1. Open URL: http://localhost:3000/api/files