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

@septh/ts-run

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@septh/ts-run

The minimalist TypeScript script runner for Node

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
146
decreased by-52.13%
Maintainers
0
Weekly downloads
 
Created
Source

ts-run

The minimalist TypeScript script runner for NodeJS.

Run TypeScript scripts from the command line as if they were plain JavaScript.

ts-run path/to/script.ts

See the repo on Github for full documentation.

Features

  • Just-in-time TypeScript transpilation so fast you won't even notice.
  • Generates source maps for accurate stack traces.
  • Does not spawn another process to transpile TypeScript.
  • Does not spawn another Node process to run your script.
  • Strictly follows modern Node semantics for ESM and CommonJS modules.
  • Zero config: no config file, no command line arguments, no environment variables, no nothing.
  • Does not even need a tsconfig.json.
  • Extra-light: only 220 kilobytes installed!
  • Zero dependency!

Non-features

  • Not for running full-blown TypeScript projects.
  • No REPL support.

Licence

MIT.

Keywords

FAQs

Package last updated on 04 Oct 2024

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