1.0.3 • Published 4 years ago

untype v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Untype

Motivation

If you need to take a modern TypeScript project and convert it into human-editable/human-readable ES6 JavaScript, this CLI is for you. It is a suggary wrapper around babel that lets you put in a file or directory and spit out a project which is pleasant to work with, with all the type annotations removed.

Usage

In brief:

untype --input /path/to/directory --output-directory /path/to/output

Does exactly what you would expect.

untype --input /path/to/file.tsx --output /path/to/output.jsx

Works too.

Untype will warn you if the output file and/or directory you want already exists. If you do not want it to do so, just pass the --force option.