包详细信息

kpx

refirst11580MIT0.2.2

TypeScript Module Loader: Key Process Execute

esm, cjs, loader, typescript

自述文件

kpx 🚀✨

TypeScript Module Loader: Key Process Execute

🎉 Features

  • ⚡ Instantly execute TypeScript/ESM files
  • 🪄 Seamless integration with node --require / --import
  • 🔥 Perfect for development & testing
  • 🧩 Easy to combine with other tools

📦 Installation

# Install as a project dependency
npm install --save-dev kpx

# Or install globally
npm install --global kpx

🚀 Usage

# Use as a `--require` hook
node --require kpx test.ts
node -r kpx test.ts

# Use as an `--import` hook (Node.js 18+)
node --import kpx test.ts

🛠️ Support

  • Supports TypeScript, ESM, and CJS
  • Works with Node.js standard --require / --import hooks
  • Compatible with other tools and test runners

📝 License

kpx is MIT licensed.

"💡 kpx makes running TypeScript files a breeze! Contributions are welcome."