potrace icon indicating copy to clipboard operation
potrace copied to clipboard

Browser API

Open ixxie opened this issue 11 months ago • 3 comments

Hey, I'd like to get this running in the browser. I noticed jimp has documented browser support so I thought it could be doable.

  1. Do you think this is feasible?
  2. If yes, would you be open to PR towards this?
  3. If yes, do you have any suggestions or requests for the PR?

ixxie avatar Feb 04 '25 12:02 ixxie

  1. Since Jimp is the only dependency this package has and the browser support docs are correct then I think it is feasible.
  2. Yes, i'm open to a PR
  3. As long as they come with tests and they pass i'm 100% merging it.

Ghustavh97 avatar Feb 05 '25 08:02 Ghustavh97

Alright, good to know.

I'm not very familiar with Mocha or TDD in general, so it would take me some time to figure out.

It would probably be still a couple a month or two before I get around to this.

BTW would you consider migrating to Typescript at some point?

ixxie avatar Feb 05 '25 10:02 ixxie

Take as much time as you would like, I don't mind. Yes migrating to Typescript would be great, I don't know if you want to include a TS migration in your PR(s) too but if you do then that will be fine too.

Ghustavh97 avatar Feb 06 '25 09:02 Ghustavh97