Creature_WebGL
Creature_WebGL copied to clipboard
[Improvement] Typescript definition types + NPM
Description
Few ideas for improvement:
1/ This could be nice to add typescript typings to the repo. This would make autocompletion and typescript usage of these runtimes more user friendly.
2/ Publishing these runtimes on NPM could helps. It would be easier to manage as a user, and get future update without have to manually check this repository.
3/ A LICENSE.md
file: It took me times to realize the license was directly embedded in each js file. Github doc
Very good suggestions! I will look into this when I get the cycles.
Cheers
Hello, I created the typings for using this library with Phaser3. https://github.com/bkostrowiecki/creature_phaser3_typings
So it may be a good starting point for creating TypeScript declarations.