Singleton realm instance

How can we share realm instance in different components when it is open via Realm.open()?
I mean how can I make it singleton and share it in different components(Node js sdk).