mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-08-07 09:55:40 +00:00
To run the experiment:
cd ./esm-usage-example # Must be in this directory
node -v # Must be using node v13
# Install the github branch via npm
npm install
node --loader ts-node/esm ./index.js
# Or if you're hacking locally
node --loader ../esm.mjs ./index