chargebee / chargebee-typescript

Typescript library for the Chargebee API.
https://apidocs.chargebee.com/docs/api?lang=typescript
MIT License
23 stars 15 forks source link

[Question] What is the difference between chargebee-node and chargebee-typescript - and which one to use? #51

Closed JanThiel closed 6 months ago

JanThiel commented 8 months ago

Hey there,

let's make it quick: What is the difference between the chargebee-node and chargebee-typescript projects and packages?

From what I get: Once upon a time the chargebee-typescript project was the only one supporting ... typescript ;-). But now as far as I can see the chargebee-node does offer full(?) Typescript support as well.

Any insights? And suggestions which package to use?

Thank you very much :-)

cb-sriramthiagarajan commented 8 months ago

Hey @JanThiel , you're absolutely right 😄. We started providing TS typings with the chargebee-node package fairly recently.

We're also thinking of consolidating these into a single package and archive the other. This is still under discussion. We'll make an announcement with all the details in both the repos + other places when we make that decision. For now, I'd suggest you go with chargebee but you'd be good to pick either of these.

cb-sriramthiagarajan commented 8 months ago

@JanThiel — I see from #50 that you're planning to use chargebee-typescript and I wanted to say that it should be fine. The reason I suggested chargebee in my previous comment was that if we're decide on consolidating, we'll likely be using that package (mainly for the name!) but that shouldn't affect your decision.

JanThiel commented 8 months ago

@cb-sriramthiagarajan The feedback regarding the os module and Edge support in #50 applies to the chargebee-node package as well.

We switched our integration to chargebee-node already following your suggestion that this will be the leading project and package anyway.

cb-sriramthiagarajan commented 6 months ago

Closing this issue since we've discussed and answered the main question.