demotivator
Advanced tools
Comparing version 1.0.0 to 7.0.0
@@ -1,2 +0,60 @@ | ||
# deMotivator.js | ||
# (de)Motivator.js | ||
- [(de)Motivator.js](#demotivatorjs) | ||
- [Technologies Used](#technologies-used) | ||
- [Description](#description) | ||
- [Use Cases](#use-cases) | ||
- [Installation](#installation) | ||
- [via `npm`](#via-npm) | ||
- [via JavaScript](#via-javascript) | ||
- [Usage](#usage) | ||
- [Update Schedule](#update-schedule) | ||
- [License](#license) | ||
## Technologies Used | ||
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Npm-logo.svg/1920px-Npm-logo.svg.png" width="30px"> | ||
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Node.js_logo.svg/1280px-Node.js_logo.svg.png" width="30px"> | ||
<img src="https://logos-download.com/wp-content/uploads/2019/01/JavaScript_Logo.png" width="30px"> | ||
<img alt="TypeScript" width="30px" src="https://blog.jeremylikness.com/blog/2019-03-05_typescript-for-javascript-developers-by-refactoring-part-1-of-2/images/1.jpeg"/> | ||
## Description | ||
An extensive JavaScript Library to integrate the power of (de)Motivator into your webapp. | ||
## Use Cases | ||
- Casually throw shade at your users. | ||
- Need a random insult | ||
- Just been roasted, and you dont feel like visiting [(de)Motivator](https://porkyproductions.github.io/deMotivator) | ||
- You feel as if your userbase's ego is far too high | ||
## Installation | ||
### via `npm` | ||
Install the `demotivator` package | ||
```bash | ||
npm i demotivator | ||
``` | ||
Include the `demotivator` package in your `package.json` (this should be done automatically by npm) | ||
In your javascript file, import the `demotivator` package | ||
`var demotivator = require("demotivator")` | ||
### via JavaScript | ||
Create a JavaScript file, and add the code from the [`index.js`](https://raw.githubusercontent.com/PorkyProductions/deMotivator.js/main/index.js) to it. Add the JavaScript to your HTML file via a `<script>` tag. | ||
## Usage | ||
In your HTML, add a `<p>` element with the id `insult`. This will be the element that will be updated with the insult. | ||
Add any element, and pass the `onclick="GenerateInsult()"` attribute to it. This will be the element that will trigger the insult. | ||
## Update Schedule | ||
DMV.js will follow the same update schedule as [(de)Motivator](https://porkyproductions.github.io/deMotivator), with a release every 2-3 weeks. | ||
## License | ||
We are licenced under the Apache-2.0 licnse. Please see [LICENSE](LICENSE) for more information. |
39
index.js
@@ -220,3 +220,40 @@ var insults = [ | ||
"You look like somebody stepped on a goldfish.", | ||
"" | ||
"I'd like to help you out. Which way did you come in?", | ||
"I love to shop, but i'm not buying anything you say", | ||
"Someday you'll go far. And I really hope you stay there.", | ||
"Oops, my bad. I could've sworn I was dealing with an adult.", | ||
"Remember that time you were saying that thing I didn't care about? Yeah, that is now.", | ||
"I'm busy right now, can I ignore you another time?", | ||
"I wish I had a flip phone, so I could slam it shut on this conversation.", | ||
" NSync said it best, “BYE, BYE, BYE!”", | ||
"You're a gray sprinkle on a rainbow cupcake.", | ||
"Your secrets are always safe with me. I never even listen when you tell me them.", | ||
"Mirrors can't talk. Lucky for you, they can't laugh either", | ||
"Keep rolling your eyes, you might eventually find a brain.", | ||
"Did I invite you to the barbecue? Then why are you all up in my grill?", | ||
"You have so many gaps in your teeth it looks like your tongue is in jail.", | ||
"Oh, I'm sorry. Did the middle of my sentence interrupt the beginning of yours?", | ||
"You are like a cloud. When you disappear, it's a beautiful day.", | ||
" You have an entire life to be an idiot. Why not take today off?", | ||
"Your kid is so annoying, he makes his Happy Meal cry.", | ||
"Your face is just fine, but we'll have to put a bag over that personality.", | ||
"I'm not a nerd. I'm just smarter than you.", | ||
"Bye. Hope to see you never.", | ||
"Don't worry, the first 40 years of childhood are always the hardest.", | ||
"If you're going to be two-faced, at least make one of them pretty.", | ||
"The only way you'd ever get hurt during an activity is if the TV exploded.", | ||
"I thought of you today. It reminded me to take out the trash.", | ||
"Did the mental hospital test too many drugs on you today?", | ||
"OH MY GOD! IT SPEAKS!", | ||
"Beauty is only skin deep, but ugly goes clean to the bone.", | ||
"I forgot the world revolves around you. My apologies, how silly of me.", | ||
"When you look in the mirror, say hi to the clown you see in there for me, would you?", | ||
"Somewhere out there is a tree tirelessly producing oxygen for you. You owe it an apology.", | ||
"That sounds like a you problem.", | ||
"You have miles to go before you reach mediocre.", | ||
"I see no evil, and I definitely don't hear your evil.", | ||
"Don't worry about me. Worry about your eyebrows.", | ||
"Grab a straw, because you suck.", | ||
"You're the reason the gene pool needs a lifeguard.", | ||
" ", | ||
]; | ||
@@ -223,0 +260,0 @@ function GenerateInsult() { |
{ | ||
"name": "demotivator", | ||
"version": "1.0.0", | ||
"version": "7.0.0", | ||
"description": "An extensive JavaScript Library to integrate the power of (de)Motivator into your webapp.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -221,3 +221,41 @@ const insults = | ||
"I will boil your teeth", | ||
"You look like somebody stepped on a goldfish.",`` | ||
"You look like somebody stepped on a goldfish.", | ||
"I'd like to help you out. Which way did you come in?", | ||
"I love to shop, but i'm not buying anything you say", | ||
"Someday you'll go far. And I really hope you stay there.", | ||
"Oops, my bad. I could've sworn I was dealing with an adult.", | ||
"Remember that time you were saying that thing I didn't care about? Yeah, that is now.", | ||
"I'm busy right now, can I ignore you another time?", | ||
"I wish I had a flip phone, so I could slam it shut on this conversation.", | ||
" NSync said it best, “BYE, BYE, BYE!”", | ||
"You're a gray sprinkle on a rainbow cupcake.", | ||
"Your secrets are always safe with me. I never even listen when you tell me them.", | ||
"Mirrors can't talk. Lucky for you, they can't laugh either", | ||
"Keep rolling your eyes, you might eventually find a brain.", | ||
"Did I invite you to the barbecue? Then why are you all up in my grill?", | ||
"You have so many gaps in your teeth it looks like your tongue is in jail.", | ||
"Oh, I'm sorry. Did the middle of my sentence interrupt the beginning of yours?", | ||
"You are like a cloud. When you disappear, it's a beautiful day.", | ||
" You have an entire life to be an idiot. Why not take today off?", | ||
"Your kid is so annoying, he makes his Happy Meal cry.", | ||
"Your face is just fine, but we'll have to put a bag over that personality.", | ||
"I'm not a nerd. I'm just smarter than you.", | ||
"Bye. Hope to see you never.", | ||
"Don't worry, the first 40 years of childhood are always the hardest.", | ||
"If you're going to be two-faced, at least make one of them pretty.", | ||
"The only way you'd ever get hurt during an activity is if the TV exploded.", | ||
"I thought of you today. It reminded me to take out the trash.", | ||
"Did the mental hospital test too many drugs on you today?", | ||
"OH MY GOD! IT SPEAKS!", | ||
"Beauty is only skin deep, but ugly goes clean to the bone.", | ||
"I forgot the world revolves around you. My apologies, how silly of me.", | ||
"When you look in the mirror, say hi to the clown you see in there for me, would you?", | ||
"Somewhere out there is a tree tirelessly producing oxygen for you. You owe it an apology.", | ||
"That sounds like a you problem.", | ||
"You have miles to go before you reach mediocre.", | ||
"I see no evil, and I definitely don't hear your evil.", | ||
"Don't worry about me. Worry about your eyebrows.", | ||
"Grab a straw, because you suck.", | ||
"You're the reason the gene pool needs a lifeguard.", | ||
" ", | ||
@@ -224,0 +262,0 @@ |
@@ -221,3 +221,41 @@ const insults = | ||
"I will boil your teeth", | ||
"You look like somebody stepped on a goldfish.",`` | ||
"You look like somebody stepped on a goldfish.", | ||
"I'd like to help you out. Which way did you come in?", | ||
"I love to shop, but i'm not buying anything you say", | ||
"Someday you'll go far. And I really hope you stay there.", | ||
"Oops, my bad. I could've sworn I was dealing with an adult.", | ||
"Remember that time you were saying that thing I didn't care about? Yeah, that is now.", | ||
"I'm busy right now, can I ignore you another time?", | ||
"I wish I had a flip phone, so I could slam it shut on this conversation.", | ||
" NSync said it best, “BYE, BYE, BYE!”", | ||
"You're a gray sprinkle on a rainbow cupcake.", | ||
"Your secrets are always safe with me. I never even listen when you tell me them.", | ||
"Mirrors can't talk. Lucky for you, they can't laugh either", | ||
"Keep rolling your eyes, you might eventually find a brain.", | ||
"Did I invite you to the barbecue? Then why are you all up in my grill?", | ||
"You have so many gaps in your teeth it looks like your tongue is in jail.", | ||
"Oh, I'm sorry. Did the middle of my sentence interrupt the beginning of yours?", | ||
"You are like a cloud. When you disappear, it's a beautiful day.", | ||
" You have an entire life to be an idiot. Why not take today off?", | ||
"Your kid is so annoying, he makes his Happy Meal cry.", | ||
"Your face is just fine, but we'll have to put a bag over that personality.", | ||
"I'm not a nerd. I'm just smarter than you.", | ||
"Bye. Hope to see you never.", | ||
"Don't worry, the first 40 years of childhood are always the hardest.", | ||
"If you're going to be two-faced, at least make one of them pretty.", | ||
"The only way you'd ever get hurt during an activity is if the TV exploded.", | ||
"I thought of you today. It reminded me to take out the trash.", | ||
"Did the mental hospital test too many drugs on you today?", | ||
"OH MY GOD! IT SPEAKS!", | ||
"Beauty is only skin deep, but ugly goes clean to the bone.", | ||
"I forgot the world revolves around you. My apologies, how silly of me.", | ||
"When you look in the mirror, say hi to the clown you see in there for me, would you?", | ||
"Somewhere out there is a tree tirelessly producing oxygen for you. You owe it an apology.", | ||
"That sounds like a you problem.", | ||
"You have miles to go before you reach mediocre.", | ||
"I see no evil, and I definitely don't hear your evil.", | ||
"Don't worry about me. Worry about your eyebrows.", | ||
"Grab a straw, because you suck.", | ||
"You're the reason the gene pool needs a lifeguard.", | ||
" ", | ||
@@ -224,0 +262,0 @@ |
90268
14
828
61