New package published: Hapns
Published on September 2, 2025 by Alexander Patrick Cerutti

Dear all!

This update is to inform you that I've developed and published a new library to communicate with APNs (Apple Push Notification service) in order to send notifications.

Its name is `hapns` and it was designed and built with the idea of giving the best developer experience possible around Apple notifications, analyzing what competitors like `apns2` and `@parse-community/node-apn` do and don't, their strengths and flaws. I tried to build some POC iOS apps to demonstrate how the client side of the several notifications work and let people find any caveats I found - also online - by just looking at such apps. All the apps are in the same repo in the example folders.

I really put all myself into designing like that, so I'd like to invite you all to give it a try and give feedbacks.
Of course, I couldn't forget Apple Wallet passes: notifications for them to update are supported as well and one of the examples is entirely dedicated to it, with well-detailed comments about how to make them work.

You can find it here: https://github.com/alexandercerutti/hapns
Here you can find Apple Wallet examples: https://github.com/alexandercerutti/hapns/tree/master/examples/Apple-Wallet-Passes

The release of this package marks the closing of a circle and a completion. I've developed an Apple Wallet Pass designer (https://pkvd.app), a generator, some bridges for updates to work with several web servers frameworks and, lastly, a whole notifications library.

Thank you, for the support and trust you gave me till this day. ❤️

With love,
Alexander