Skip to content

TS: Running TS files without compilation #33

@mkermani144

Description

@mkermani144

Description

Create a NodeJS package with two Typescript modules, one as the main module to be run, and the other to be imported inside the main one. Then, add a different npm scripts inside the package.json to run the main module without compiling it in different ways.
Don't use tsc.

What to google

  • tsx
  • ts-node
  • node --loader

Suggested resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions