---
title: "super-detype | Super Kenil"
description: "Strips out TS definitions and syntax from your WHOLE project"
url: "https://sknl.dev/project/super-detype"
tags:
  - "Typescript"
  - "fs"
  - "Babel"
  - "Esbuild"
content_signal: "ai-train=yes, search=yes, ai-input=yes"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://sknl.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# super-detype

Strips out TS definitions and syntax from your WHOLE project

- Pricing: Free to use (Open source)
- Category: DeveloperApplication
- Tech Stack: Typescript, fs, Babel, Esbuild
- Live URL: https://super-detype.sknl.dev
- Source Code (GitHub): https://github.com/Super-Kenil/super-detype
- Detail Page: https://sknl.dev/project/super-detype

## Overview & Technical Details

Ever had to create JavaScript examples from a TypeScript project? You know the pain. Manually stripping types, removing interfaces, dealing with type assertions scattered everywhere. I got tired of doing this repeatedly, so I built a tool that does it for me.

super-detype is a CLI tool that transpiles your entire TypeScript project to JavaScript. Not just individual files - your whole project, preserving the directory structure. It's powered by Babel and esbuild under the hood, so the output is clean and reliable.

I mainly built this for creating JS examples from my TS codebases. Documentation sites, tutorials, quick demos - sometimes you just need vanilla JS versions. It handles React, Next.js, Remix, and Vite projects without breaking a sweat.

Install it globally via npm and run it from anywhere. Two arguments: source directory and output directory. That's it. No config files, no complex setup. Just works.

Built by Kenil Sudani (Super Kenil) — hello@sknl.dev
