@xfacio/trolljs
v1.0.1
Published
1. Install it ```npm install @xfacio/trolljs``` 2. Add to code ```js const troll = require("@xfacio/trolljs") new troll({ customErrors: [ () => `Secret JavaScript Error` ] }) ``` 3. Run Node!
Downloads
5
Readme
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 :)