dharmik on Nostr: this works. the documentations needs a rearrangement. Neutralino.init(); function ...
this works. the documentations needs a rearrangement.
Neutralino.init();
function readDir() {
Neutralino.filesystem.readDirectory('./resources/')
.then((result) => console.log(result))
.catch((err) => console.log(err));
}
readDir()
Published at
2024-12-22 09:24:10Event JSON
{
"id": "398fa9766875babafe4c15c7198fa4112a8d0f23ef67cf8fa35c2eb12058701a",
"pubkey": "24d53b5b7fdb0dad7d0082b11763b21324af150e6daa8d0c0bb9b150a1e54568",
"created_at": 1734859450,
"kind": 1,
"tags": [
[
"p",
"24d53b5b7fdb0dad7d0082b11763b21324af150e6daa8d0c0bb9b150a1e54568",
"wss://relay.mostr.pub"
],
[
"e",
"55bd1f9859dc0ae9a9d86e2564ba46d9b512b2e4acb5c4bba040c738da57ebf6",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://linuxusers.in/dharmik/p/1734859450.098005",
"activitypub"
]
],
"content": "this works. the documentations needs a rearrangement.\n\nNeutralino.init();\n\nfunction readDir() {\n Neutralino.filesystem.readDirectory('./resources/')\n .then((result) =\u003e console.log(result))\n .catch((err) =\u003e console.log(err));\n}\n\nreadDir()\n",
"sig": "a661bda2066fe8292ba5b18ae54914b35712f4702cbab46f117a2982f635254773e8352fbbe8c113a0602e77bfe9cbd8585934703361f4abcc7d4fbf075e91ff"
}