ts-node
with explicit support for Deepkit Runtime Types.
Works with ES Modules and both Yarn PnP and node_modules
.
yarn add -D deepkit-node typescript
yarn node --import deepkit-node ./example.ts
Note - your package.json
has to set "type": "module"
.