A library for boolean aliases to help you make your code more confusing and make your coworkers hate you.

Overview

yup-nope

A library for boolean aliases to help you make your code more confusing and make your coworkers hate you.

Installation

Using npm:

npm install --save yup-nope

Using yarn:

yarn add yup-nope

Usage

The library yup-nope exports a number of boolean aliases you can use instead of true and false. They are all named exports, so you can use them like this:

import { yup, nope } from "yup-nope";

// Let’s not get fixated on the fact that
// the below function could be written as
// const isNumberOdd = number => number % 2 === 1

const isNumberOdd = (number) => {
  if (number % 2 === 1) {
    return yup;
  }
  return nope;
};

Aliases

Aliases for true are:

  • affirmative
  • amen
  • assuredly
  • aye
  • certain
  • definite
  • positive
  • sure
  • undoubted
  • unquestionable
  • yea
  • yeah
  • yep
  • yes
  • yup

Aliases for false are:

  • nay
  • negative
  • nix
  • no
  • nope
  • noway
  • nowise

Disclaimer

Please don’t use this library. Or at least use it at your own risk.

License

Licensed under MIT. Do what you will.

You might also like...

🎨ansi escape code generator to help make colorful command line tools

ansicodes 🎨 ansi escape code generator to help make colorful command line tools i got tired of looking up ansi code tables when writing command line

Dec 17, 2022

This project, is about restructuring our Awesome books app code and make it more organized using modules and ES6 sintax. Built with HTML, CSS, JavaScript.

Awesome Books with ES6 This project, is about restructuring our Awesome books app code and make it more organized using modules and ES6 sintax. Built

Jul 21, 2022

Restructure my Awesome books app code. The goal is to make it more organized by using modules and also practice the ES6 syntax.

Awesome Book In this project, I rebuild a basic website that allows users to add/remove books from a list using ES6 Built With HTML CSS Javascript Get

Aug 15, 2022

this project's main aim is to restructure Awesome books app code to make it more organized by using modules and also practicing the ES6 syntax.

Awesome Books ES6 this project's main aim is to restructure Awesome books app code to make it more organized by using modules. also practicing the ES6

Sep 6, 2022

In this project, I restructured my Awesome books app code to make it more organized by using modules and ES6 syntax.

Awesome books ES6 In this project, I restructured my Awesome books app code to make it more organized by using modules and ES6 syntax. Built With HTML

Oct 11, 2022

Incredible resources (with links) to help up-skill yourselves on various fields. Resources like programming, designing, engineering and much more and completely Open Source.

Incredible resources (with links) to help up-skill yourselves on various fields. Resources like programming, designing, engineering and much more and completely Open Source.

Shiryoku Incredible resources (with links) to help up-skill yourselves on various fields. Resources like programming, designing, engineering and much

Dec 15, 2022

In this project, I will restructure Awesome books app code. The goal is to make it more organized by using modules.

Awesome Books ES6 In this project, In this project I built Awesome books app code. The goal was to make it more organized by using modules. Built With

Jun 16, 2022

In this project, I will restructure my Awesome books app code, to make it more organized by using modules.

Awesome-books-with-ES6 In this project: I will restructure my Awesome books app code, to make it more organized by using modules. Awesome-books-Projec

Dec 10, 2022
Owner
Bence A. Tóth
Front-end developer, team lead, software architect, tech lead, mentor, teacher, volunteer, lambda enthusiast, CSS ninja. I build software and relationship.
Bence A. Tóth
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
🧩 TypeScript utility type in order to ensure to return only properties (not methods) containing values in primitive types such as number or boolean (not Value Objects)

?? TypeScript Primitives type TypeScript utility type in order to ensure to return only properties (not methods) containing values in primitive types

CodelyTV 82 Dec 7, 2022
e-ONG, an authorial project, whose objective is to help ONGs to find people who need help or would like to help them

This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: npm start Runs the app in the developmen

Lucas Lima 2 Nov 11, 2022
BCash is an app to help you keep track of who you owe and who owes you money in an easy way. Split your tabs and more.

BCash BCash is an app to help you keep track of who you owe and who owes you money in an easy way. Split your tabs and more. Routes for develpment: lo

Cuitlahuac Maldonado 3 Aug 11, 2022
In this project, you will restructure your Awesome books app code. The goal is to make it more organized by using modules. You will also practice the ES6 syntax that you have learned.

Awesome books: with ES6 In this project, you will restructure your Awesome books app code. The goal is to make it more organized by using modules. You

Kelvin Benjamin 5 Oct 10, 2022
In this project, I restructure my previous Awesome books app code. The goal is to practice ES6 syntax and also make the code more organized by using ES6 modules.

Awesome Books In this project, I will restructure my previous Awesome books app code. The goal is to make it more organized by using modules. I will a

Sidney Kaguli 9 Aug 23, 2022
In this project, you will restructure your Awesome books app code. The goal is to make it more organized by using modules and also practice the ES6 syntax.

Awesome-books-with-ES6 In this project, I restructured Awesome books app code. The goal is to make it more organized by using modules and also practic

David Kasilia Mwanzia 6 Sep 16, 2022
fardin 8 Oct 18, 2022