How to use the ts-node/dist.parse function in ts-node

To help you get started, we’ve selected a few ts-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github svi3c / jasmine-ts / src / index.ts View on Github external
const tsNodeOptions = Object.assign({}, ...TS_NODE_OPTIONS.map((option) => {
  if (argv[option]) {
    return (option === "compilerOptions")
      ? {compilerOptions: parse(argv[option] as string)}
      : {[option]: argv[option]};
  }
}));

ts-node

TypeScript execution environment and REPL for node.js, with source map support

MIT
Latest version published 5 months ago

Package Health Score

87 / 100
Full package analysis