Demotivational messages. Great for adding flavour to your error messages 😏

Usage no npm install needed!

<script type="module">
  import exzyleDemotivational from 'https://cdn.skypack.dev/exzyle-demotivational';


Exzyle Demotivational

Build Status GitHub repo size GitHub contributors GPLv3 license TradingView Follow @ExZyle

Exzyle-Demotivational is a utility that provides nihilistic and depressing messages allowing developers to have some fun appending to error messages.


Thanks to joranE/demotivr for demotivationals and discouragement 😏.


Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of node

Installing exzyle-demotivational

To install exzyle-demotivational, follow these steps:

Using npm:

npm i exzyle-demotivational

Using yarn:

yarn add exzyle-demotivational

Using exzyle-demotivational

To use exzyle-demotivational, simply require or import the module.

Using node

const { demotivate } = require('exzyle-demotivational');

throw new Error(`Missing required parameters. ${demotivate()}`);

Using typescript

import { demotivate } as from 'exzyle-demotivational';

throw new Error(`Missing required parameters. ${demotivate()}`);

Contributing to exzyle-demotivational

To contribute to exzyle-demotivational, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.


Thanks to the following people who have contributed to this project:


If you want to contact me you can reach me on TradingView @ExZyle.

Alternatively try reaching out on twitter @ExzyleFreedom.


This project uses the following license: GNU General Public License version 3.