/types

Typings generation for garrysmod

Primary LanguageTypeScriptMIT LicenseMIT

NPM version NPM downloads Known Vulnerabilities

Conventional Commits js-standard-style Security Responsible Disclosure

@glua-ts/types

Tool to generate typescript definitions for garrysmod.

For use with Typescript To Lua

The first run will take a while because all pages need to get fetched from the gmod wiki. Executions after that shouldnt take longer than a couple of seconds.

Caches wiki pages into ./data and generates declarations in ./typings

If you want to refresh your cache just delete the ./data folder and rerun.

to install just the typings run

npm install --save-dev @glua-ts/types