Why Nostr? What is Njump?
2024-03-23 07:20:57
in reply to

bloodymary on Nostr: It’s the difference between commons is and esm. The import statement can be used in ...

It’s the difference between commons is and esm.
The import statement can be used in ESM.

Otherwise you shall use require().

It means you are trying to run the code on the “server” side
Author Public Key
npub1mkrd5p48hgzpvgjnrt9j838v9vku65dankjmqunaazme62593dgq4wved6