Troll.JS - Troll your friends with custom errors
How to use?
- Install it
npm install @xfacio/trolljs
- Add to code
const troll = require("@xfacio/trolljs")
new troll({
customErrors: [
() => `Secret JavaScript Error`
]
})
- Run Node!
Example Error:
[Error: Segmentation fault
At: NodeJS was too lazy to check line. Try to find it on your own.]
Share this to your friends.
If you have access to their code you can also add it there :)