Shared helper in an extension bundle

Hello, I’m working on a Directus Extension bundle that contains multiple packages.
As I wanted some helper functions to be shared across all the packages I was wondering about the best practices to achieve so. Should it be and additional module of the bundle?

Thanks!

Yep, if you’re working on a bundle, using shared helper functions is a great way to go and highly recommend it.

Typically when I’m building extensions, I just stick these sorts of things in a shared or helper or utils folder.

But I would highly recommend checking out the Directus Labs extensions repository. You can get an idea of how our team and some of our extension experts build and what patterns they use.