https://github.com/melvincarvalho/noskey/blob/gh-pages/bin/noskey.js#L65
How can I apply this to convert my private key into nsec format?
Please Login to reply.
```
const { nip19 } = require('nostr-tools')
console.log(nip19.nsecEncode(privateKey))
This works!! Thank you so much