freshfork / p5.EasyCam

A p5.js library for easy 3D camera control.
https://freshfork.github.io/p5.EasyCam
MIT License
136 stars 33 forks source link

NPM Release and Typescript Support #13

Open michaelcmelton opened 3 years ago

michaelcmelton commented 3 years ago

Is there current Typescript Support and NPM packages for this library?

jwdunn1 commented 3 years ago

Not yet. Perhaps NPM packaging sooner than Typescript support. I'll mark this as an enhancement.

michaelcmelton commented 2 years ago

Are you open to contributions? If so, I'd be glad to try and help with these things when I've got some free time.

jwdunn1 commented 2 years ago

Yes, this library is open to contributions! When you get the opportunity, feel free to fork, update, test, and create a pull request.

michaelcmelton commented 2 years ago

@jwdunn1 Do you have any contact info I can reach you at? I want to run a few things by you before I begin really digging in.

asukaminato0721 commented 1 year ago

https://github.com/wuyudi/p5.EasyCam/blob/try2ts/dist/p5.easycam.d.ts

I spent some time to adopt it into ts and generate a .d.ts file. Hope it may help.

Some types are not clear to me, so I write any instead.

I don't know whether this can be a PR (ts to js is a huge difference).

jwdunn1 commented 1 year ago

@wuyudi Excellent! Thank you for the time spent on this. If you want to create a PR, please rename or drop the dist folder - it may be misunderstood as a distribution folder.

jwdunn1 commented 1 year ago

NPM package published. [ It took more than one year to resolve the request for control of the name "p5.easycam" on npm! ]

jwdunn1 commented 1 year ago

The TypeScript version of the code is v1.2.0. This is not aligned with the current release version 1.2.2.