Creature_WebGL icon indicating copy to clipboard operation
Creature_WebGL copied to clipboard

[Improvement] Typescript definition types + NPM

Open kefniark opened this issue 5 years ago • 2 comments

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

kefniark avatar Sep 05 '18 07:09 kefniark

Very good suggestions! I will look into this when I get the cycles.

Cheers

kestrelm avatar Sep 05 '18 15:09 kestrelm

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.

bkostrowiecki avatar Jul 08 '20 17:07 bkostrowiecki