Introducing the nostr-tools Compiler!

it will compile your JS code, fixing your bugs and outputting more JS code that then you pass to your bundler, minifier, modularizer.

Reply to this note

Please Login to reply.

Discussion

馃槀

I see your little thingy here https://github.com/fiatjaf/window.nostr.js

I don't know why you didn't bother to mention it

There's another thingy at https://github.com/nostrband/nostr-login

I tried this and I like it.

Is it possible to remove the read-only option?

There are some applications I am thinking of where you need everyone to read and write, not just read.

Oh yeah I need to be able to select available modes myself too, will ping you when it's ready.

noticed some oddities, but will DM you

I published a new nostr-login version, there's now a data-methods option, a list of comma separated allowed auth methods, you can specify 'connect,extension' to exclude 'readOnly'.

Ok. Im using the