This repo is linked to Stack Overflow question: https://stackoverflow.com/questions/59700730/typescript-non-relative-import-with-node-js-and-es-modules-does-not-work
- cd into the folder containing package.json
- run
npm i
to download the dependencies - run
npm run tsc
to generate files inside scripts/lib folder - run
npm start
to run script test.ts, requires node js version, which supports ES modules (13.6.0 for example)