Published my first npm package!

As the title suggests, I published my very first npm package earlier this week!

This is something that has definitely been long overdue, and I should have been doing for years. I have so many random code things I have done to simplify or abs…


This content originally appeared on DEV Community and was authored by Steven Rathbauer

As the title suggests, I published my very first npm package earlier this week!

This is something that has definitely been long overdue, and I should have been doing for years. I have so many random code things I have done to simplify or abstract processes or components but have just never committed the time to actually sharing it out to the world. Well, now I have!!!

I hope to continue this trend and publish more packages in the future, but in the meantime here is some info about the package:

@rathpc/zendesk-react

A minimal component based implementation to include Zendesk in your React application.

  • If you are using the Zendesk integration in your React application, you might find this useful. It essentially gives you a way to include the integration without explicitly needing to add the script yourself in an HTML file or template being passed into your bundler of choice.

  • This makes it a bit easier to consume and tweak usage based on environment.

Feel free to try it out and let me know if there is anything you want to see added to it or changed! I plan to add some more thorough typing of the zendeskApi function usage based on the Zendesk docs so it will be even easier to use and have auto completion!!!

Sidenote: This effort was definitely inspired by another package (react-zendesk) that is also available but it hasn't been maintained in quite some time. My intention was to build on that idea, update the logic to leverage newer React syntax and capabilities (16.8+) as well as write it purely in Typescript.


This content originally appeared on DEV Community and was authored by Steven Rathbauer


Print Share Comment Cite Upload Translate Updates
APA

Steven Rathbauer | Sciencx (2021-07-14T14:03:20+00:00) Published my first npm package!. Retrieved from https://www.scien.cx/2021/07/14/published-my-first-npm-package/

MLA
" » Published my first npm package!." Steven Rathbauer | Sciencx - Wednesday July 14, 2021, https://www.scien.cx/2021/07/14/published-my-first-npm-package/
HARVARD
Steven Rathbauer | Sciencx Wednesday July 14, 2021 » Published my first npm package!., viewed ,<https://www.scien.cx/2021/07/14/published-my-first-npm-package/>
VANCOUVER
Steven Rathbauer | Sciencx - » Published my first npm package!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/07/14/published-my-first-npm-package/
CHICAGO
" » Published my first npm package!." Steven Rathbauer | Sciencx - Accessed . https://www.scien.cx/2021/07/14/published-my-first-npm-package/
IEEE
" » Published my first npm package!." Steven Rathbauer | Sciencx [Online]. Available: https://www.scien.cx/2021/07/14/published-my-first-npm-package/. [Accessed: ]
rf:citation
» Published my first npm package! | Steven Rathbauer | Sciencx | https://www.scien.cx/2021/07/14/published-my-first-npm-package/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.