seokju-na / react-thermal-printer

React for thermal printing
MIT License
300 stars 44 forks source link

Can you extract the core (non-react) part of this module and publish as a separate package? #31

Closed vajahath closed 1 year ago

vajahath commented 2 years ago

Great work! Can you extract the core (non-react) part of this module and publish as a separate package? You can reuse that core package in the react-thermal-printer module as well.

Motive: I was searching for a thermal printer implementation to play around with pure JS and once settled, use it in Angular. So If you could extract out the core (non-react) part and publish as a new standalone package, that would be very helpful for the community.

seokju-na commented 2 years ago

Hello 👋 Core part is already separated so you can use it. See @react-thermal-printer/printer from npmjs.

vajahath commented 2 years ago

Thanks! If you could add a quick readme with some examples as well, that would be very nice. Otherwise we have to reverse engineer the code to understand the usage.

seokju-na commented 1 year ago

react-thermal-printer (as the name says) is a library for react. We are not considering using it as a standalone or using it in other frameworks.

vajahath commented 1 year ago

Thanks for the update.