1.0.1 • Published 2 years ago

@xfacio/trolljs v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Troll.JS - Troll your friends with custom errors

How to use?

  1. Install it npm install @xfacio/trolljs
  2. Add to code
    const troll = require("@xfacio/trolljs")
    new troll({
        customErrors: [
            () => `Secret JavaScript Error`
        ]
    })
  1. 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 :)