fiatjaf on Nostr: Oh, this is for Nodejs. I forget that people use Nodejs. That's why everybody always ...
Oh, this is for Nodejs.
I forget that people use Nodejs. That's why everybody always has so much trouble.
The ESM stuff is easy if you're using any bundler for running stuff in the browser.
Assuming you were able to set up the bundler correctly (which is not trivial), it will do the job.
Published at
2025-03-06 13:47:16Event JSON
{
"id": "000075a1312d453281abb0fc020d72eb33eb0217f800632a5cc9a776ae657e26",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1741268836,
"kind": 1,
"tags": [
[
"p",
"97f848adcc4c6276685fe48426de5614887c8a51ada0468cec71fba938272911"
],
[
"e",
"5b1f72e8333a532f5fad891a53438335aa350566b99bb1ff9dec464d5c741ac1",
"wss://wot.utxo.one/",
"root",
"97f848adcc4c6276685fe48426de5614887c8a51ada0468cec71fba938272911"
],
[
"e",
"e25b48f0ef06f9d96a02c6f6fcd04588ca025fc640ac74da76c8c0365cc0d98c",
"wss://wot.utxo.one/",
"reply",
"97f848adcc4c6276685fe48426de5614887c8a51ada0468cec71fba938272911"
],
[
"nonce",
"4611686018427395130",
"16"
]
],
"content": "Oh, this is for Nodejs.\n\nI forget that people use Nodejs. That's why everybody always has so much trouble.\nThe ESM stuff is easy if you're using any bundler for running stuff in the browser.\nAssuming you were able to set up the bundler correctly (which is not trivial), it will do the job.",
"sig": "aa15f2d6f372d954284f6080bf9924a84122c165f4767b6c5be241474d2019fea73bab8737d6fd1a5f689ffa302221f1896e897c55c47d5ef6c44f18ccc0670e"
}