YeetScript
YeetScript: TS with yeetable errros. YeetScript is a superset of TypeScript that compiles to clean JavaScript output.
Install / Use
/learn @mikelsr/YeetScriptREADME
YeetScript
<p align="center"> <img alt="Yeet or be Yeeted" src="https://github.com/mikelsr/YeetScript/raw/master/res/yeet.png"> </p>It's just TypeScript but
yeetcan be used asthrow
Example
// Example of a valid YeetScript file
var can = ""
try {
if (!can)
yeet new Error("this b**ch empty!")
} catch (err) {
console.log(err.message)
}
Running the example:
$ node out/ysc.js example.ts
$ node example.js
this b**ch empty!
Requirements
- npm
- gulp
Building
./build.sh
Cleanup
The residual TypeScript folder can be deleted after a successful build.
Running
After the successfully running build.sh, you can create a .js file from a
YeetScript file with the .ts extension by running:
node out/ysc.js ${your_yeetscript_file}.ts
To run the generated .js file:
node ${your_yeetscript_file}.js
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
