How do I generate a niceware passphrase using RunKit + npm?

I have zero experience with coding and would like to try generating niceware passphrases using RunKit. A RunKit page where npm’s niceware package has been pre-installed is provided here, and it seems like all you have to do is run some code to have passphrases generated for you in-browser. Problem is, I have no idea what code to paste to make this work…

I know this is a very noobish question, but if someone could help me I’d really appreciate it.

This does what you want:

This worked like a charm - thank you so much!

On, I noticed the disclaimer “all documents on RunKit are public” - does this mean passphrases generated on RunKit are insecure? Or is it alright to use them?