Skip to content

Super-Kenil/super-detype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super-Kenil/super-detype

⭐️ Thanks everyone who has starred the repo, it means a lot!

Note

This transpiler converts your WHOLE Typescript project to Javascript:


> Eg. If your homie doesn't know Typescript, don't go removing types file by file by yourself manually or use tools which removes types from the code you copy and paste into the tool, don't be an old hag, just download and use super-detype to remove types automatically from your whole project without any issues.

How to Install

Important

Its crucial to install it globally, so that you can use it from any directory of terminal

  • In your terminal
npm i -g super-detype
  • If you do not wish to install it, then just
npx super-detype "<typescript-project-directory>" "<output-directory>"

[!TIP]

How to Use

  • In your terminal
  • It's Recommended to wrap the path with "quotes" to select folders with spaces
  • First arguement: should be the path of your typescript project's directory which you want to convert
  • Second arguement: should be the path of destination where you want to save your converted project
super-detype "<typescript-project-directory>" "<output-directory>"

Supports:

  1. Nodejs (Tested)
  2. React (Tested)
  3. Remix (Tested)
  4. Nextjs (Tested)
  5. Gatsby (!Tested)
  6. Vite + HTML (Tested)

Does not support (yet):

  • Vue
  • Svelte

Note

Star this repository if it was ever helpful to you in any ways😁

About

Strip out TS definitions and syntax from your WHOLE project. Mostly useful for creating js examples

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors