Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

tsplay

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsplay

TypeScript playground for learning - watch and run TS files instantly

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

tsplay

A lightweight TypeScript playground CLI for learning and rapid development. Watch and run TypeScript files instantly with automatic reloading.

Installation

npm install -g tsplay

Usage

# Run with a file (creates it if it doesn't exist)
tsplay myfile.ts

# Run without arguments (interactive prompt)
tsplay

When you run tsplay with a file that doesn't exist, it creates an example TypeScript file to get you started.

Features

  • Instant execution - Run TypeScript files without manual compilation
  • Watch mode - Automatically re-runs on file changes
  • Auto-generate examples - Creates starter code for new files
  • Cross-platform - Works on Windows, macOS, and Linux
  • Colored output - Clear visual feedback in the terminal

Requirements

  • Node.js >= 18.0.0

Development

# Clone and install
git clone https://github.com/gouthamgo/tsplay.git
cd tsplay
npm install

# Development mode (watch)
npm run dev

# Build for production
npm run build

# Run tests
npm test

# Local testing
npm link
tsplay

License

MIT

Keywords

typescript

FAQs

Package last updated on 05 Feb 2026

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