Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-node-dev

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-node-dev

Compiles your TS app and restarts when files are modified.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1M
decreased by-5.02%
Maintainers
1
Weekly downloads
 
Created

What is ts-node-dev?

ts-node-dev is a development tool for TypeScript that allows you to run and restart your TypeScript application automatically when files are modified. It combines the functionality of ts-node and nodemon, providing a seamless development experience for TypeScript projects.

What are ts-node-dev's main functionalities?

Automatic Restart

Automatically restarts the TypeScript application when any file in the project is modified. This is useful for development as it eliminates the need to manually restart the server after making changes.

ts-node-dev --respawn src/index.ts

Fast Compilation

Uses TypeScript's transpile-only mode to speed up the compilation process. This is useful for development environments where type checking can be deferred to a later stage.

ts-node-dev --transpile-only src/index.ts

Ignore Files

Allows you to specify files or directories to ignore for changes. This is useful for excluding large directories like node_modules from being watched, which can improve performance.

ts-node-dev --ignore-watch node_modules src/index.ts

Custom Compiler

Allows you to specify a custom TypeScript compiler. This is useful if you are using a TypeScript compiler with additional features or plugins.

ts-node-dev --compiler ttypescript src/index.ts

Other packages similar to ts-node-dev

Keywords

FAQs

Package last updated on 26 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc