Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,176 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡️ QuickTS - A mighty TypeScript engine

Overview

QuickTS is a small and embeddable TypeScript engine based on QuickJS-NG. It aims to support the latest ECMAScript specification and TypeScript, including erasable syntax in .ts, .mts, and .cts files.

TypeScript support strips type annotations and type-only declarations at parse time. Numeric and string enums are transpiled with tsc-compatible sequential assignments and reverse mappings; const enum declarations are erased. Namespaces with runtime exports are lowered to object assignments, including dotted names (namespace A.B), export class inside namespaces, and merged re-declarations of the same namespace. Use qjs -t / qjs --typescript to parse any file as TypeScript, and qjs --typecheck for primitive annotation checking (with basic literal inference and variable reference checking when annotations are omitted).

This project is a fork of the original QuickJS project by Fabrice Bellard and Charlie Gordon, after it went dormant, with the intent of reigniting its development.

Getting started

Head over to the project website for instructions on how to get started and more documentation.

Authors

@bnoordhuis, @saghul, and many more contributors.

About

QuickTS, is a TypeScript fork of QuckJS a JavaScript engine

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages