Skip to content

rametta/godot2ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Publish Package

🤖 Godot to TypeScript

This CLI tool generates TypeScript types and helpers based on Godot's GDScript files.

Usage

Install

# local project
bun i godot2ts

# global
bun i -g godot2ts

Use

godot2ts --help

The default command with no arguments will scan the current working directory recursively for .gd files and will generate one typescript file with all gd scripts converted to typescript.

Important

This tool marks TypeScript as a peer-dependency and requires it to be available in node_modules at runtime.

Contributing

Install dependencies:

bun install

Create a build

bun run build

Run tests

bun run test

Format & Lint

bun run format

About

🤖 Generate TypeScript from GDScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors