@xfacio/trolljs

1.0.1 • Public • Published

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 :)

Readme

Keywords

none

Package Sidebar

Install

npm i @xfacio/trolljs

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

3.2 kB

Total Files

4

Last publish

Collaborators

  • xfacio