npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

lt-node

v1.0.21

Published

⚡️ Lightning-fast TypeScript execution in Node.js with zero configuration required. Full feature set of paths aliases, watch mode and more out of the box. Seamlessly run TypeScript files in both development and production environments using the power of s

Readme

⚡️ LT-Node ⚡️

Bringing Simplicity to TypeScript

LT-Node (lightning-node) is a robust Node.js tool that provides effortless TypeScript support in both development and production environments. It offers all the TypeScript features you love, right out of the box, with no additional configuration required.

Table of Contents

Installation

Install LT-Node globally using npm:

npm install -g lt-node

Usage

LT-Node is a CLI tool designed to run TypeScript files in Node.js, serving as a faster alternative to ts-node. It supports both development and production environments.

  • Automatic Configuration: Reads your tsconfig.json if available, or defaults to standard settings.
  • Static File Handling: Automatically copies static files to the output directory for easy access in all environments.

To execute a TypeScript file, use:

lt-node src/main.ts

Arguments

  • --watch: Watch for file changes and automatically recompile and rerun the TypeScript files.
  • --noCheck: Skip type checking, only compile and run the TypeScript files.

Comparison with Other TypeScript Runtimes

| Feature | LT-Node | ts-node | tsx | ts-node-dev | bun | | ----------------------------------------------- | ----------------------- | ------------------ | --------------------------- | ------------------ | --------------------------------- | | Compilation Speed | ⚡️ Fast (uses SWC) | 🐌 Slow (uses tsc) | ⚡️ Fast (uses esbuild) | 🐌 Slow (uses tsc) | ⚡️ Very Fast (custom engine) | | Type Checking | ✅ Parallel | ✅ Yes | ❌ No | ✅ Yes | ❌ No | | Run in Production Server | ✅ Yes | ❌ Not recommended | ❌ Not recommended | ❌ Not recommended | ✅ Yes | | Run Same Code in Development and Production | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes | | Path Aliases Support* | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No | | Static File Support | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No | | Watch Mode | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | ✅ Yes | | HMR Support | ✅ Yes | ❌ No | ❌ No | ✅ Yes | ✅ Yes | | Decorators Support | ✅ Yes | ❌ No | ❌ No | ✅ Yes | ✅ Yes | | Node.js Compatibility | ✅ 100% | ✅ 100% | ✅ 100% | ✅ 100% | ⚠️ Partial | | npm Ecosystem Compatibility | ✅ 100% | ✅ 100% | ✅ 100% | ✅ 100% | ⚠️ Partial | | tsconfig.json Support | ✅ Full | ✅ Full | ⚠️ Partial | ✅ Full | ⚠️ Partial | | Source Maps | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | | Non-TS Files Support | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

Path Aliases Support: Enables loading of modules specified in the paths section of tsconfig.json or jsconfig.json, both at runtime and through the API.

Static File Support: Automatically copies non-TypeScript files to the output directory, ensuring access to all files in the production build as during development, without requiring additional configuration, plugins, or scripts.

Why Choose LT-Node

  • Effortless Setup: Enjoy all the best features without extra configuration or dependencies.
  • Streamlined Workflow: Simplify your build process and development workflow.
  • Consistent Environments: Run the same code in both production and development.
  • Fast Execution: Benefit from rapid execution with parallel type checking.
  • Full tsconfig.json Support: Complete compatibility with your TypeScript configuration.
  • Parallel Type Checking: Maximize productivity with non-blocking type checking.
  • Complete Node.js Compatibility: Ensure seamless integration with Node.js.
  • Static File Support: Automatically copies non-TypeScript files to the output directory, ensuring access to all files in the production build as during development, without requiring additional configuration, plugins, or scripts.
  • Watch Mode: Automatically recompiles and reruns the TypeScript files when you make changes.

Adopt LT-Node today and transform your TypeScript development experience!