Giter Club home page Giter Club logo

penis.js's Introduction

Penis.JS

Comparing variables has never been that easy and clear like using penis.js. You can use it in your websites or in your node application.

This library also has ReactJS bindings with the CondomJS wrapper component.

Usage

Traditional comparing:

var a = 'foo';
var b = 'bar';
if(a === b) alert('true')

penis.js comparing:

penis.setBalls('foo');
penis.setHead('bar');
if(B===D) alert('true');

Soft or hard penis comparing:

penis.setBalls('0');
penis.setHead(0);

var softPenisCompareResult = B==D; // true
var hardPenisCompareResult = B===D; // false

// or...
var continent = B===D ? 'Africa' : 'Asia';

Penis is compatible with AMD, commonjs, or can be just included as a script tag in a browser.

You can install penis as a node module with:

npm install edankwan/penis.js

You can then use it by requiring it:

var penis = require('penis');

Bower is also supported:

bower install penis.js

If your browser supports Object.defineProperty, you can use the balls and head properties to set these properties instead:

penis.balls = '1';
penis.head = 1;

B==D; // true
B===D; // false

When you've finished with your current penis, you can reset to get your global B and D back:

D = 'dick';

penis.setHead('Crabapple');

penis.reset();

D == 'dick' // true;

Caution

penis.js uses the global variables "B" and "D" such that you can use the awesome command "B==D" to compare 2 variables everywhere.

Testing

run npm test or testling to run the test suite.

License

penis.js is currently under Giant Penis License (GPL) which is a deformed MIT License including penis text art.

penis.js's People

Contributors

jesseditson avatar edankwan avatar eradash avatar andreausu avatar kagami avatar nipatiitti avatar pborreli avatar samtoxie avatar vdesmet93 avatar onyasumi avatar jack126guy avatar

Stargazers

Bruno Ciccarino λ avatar  avatar  avatar  avatar  avatar Tobias Jost avatar  avatar  avatar Lewin Kelly avatar zlylupaf  avatar  avatar hirak0 avatar Emilia Heller-Mrotek avatar Ivan Bushchik avatar envizar avatar Mikhail avatar Wacra avatar  avatar Vidhu Kant Sharma avatar Marco avatar CobbCoding avatar jiayi avatar Mostafa Mahmoud avatar Jack Watters avatar Steve Edson avatar Anthony avatar  avatar 霜刃 avatar Felix Wotschofsky avatar Daniel David Sintimbrean avatar Tyler Nickerson avatar Jordi Enric avatar MAЯTÍN avatar Ivan Aguilar avatar Aibek avatar johan cho avatar テキシコ avatar Partur avatar Juliana Praxedes avatar Justin Lung avatar Sealington avatar Xzero Entertainment avatar  avatar Vicente Aedo avatar Max Morozov avatar Tushar Sharma avatar Colin Teahan avatar ensi avatar Bohdan Petryshyn avatar Alex Bihas avatar Victoria Myts avatar Patrick Bornay avatar Nikita Sutulov avatar Dmytro Pashchenko avatar Oleg Logvinov avatar Fatah avatar Marc Rufeis avatar 9glenda avatar Jonas Kamsker avatar chintu avatar  avatar Sunny avatar  avatar Connor avatar Ângelo Carnevale avatar Viktor Marinho avatar Reyna I. avatar Ryan avatar Nopied◎ avatar John Doe Antler avatar Jayce avatar Jay avatar Aamir avatar nil avatar Evan Petousis avatar Fak Dvorak avatar Elsie avatar Tony Bark avatar Justin Roberson avatar Leonardo Eugênio avatar Emirhan avatar Theta69 avatar Minh Nguyễn avatar Batnaidan avatar NeuralCartel  avatar Kayondo Edward avatar Eggrror404 avatar Kritnich avatar Kourosh Alinaghi avatar Hosein Khansari avatar Doğu Us avatar Thomas Ricci avatar Fernando de Souza Oliveira avatar  avatar Aditya Sharma avatar Andika Wirapala Fathin Azfar avatar Markus Geiger avatar Emma Terzioglu avatar Dominick Reba avatar  avatar

Watchers

Robby O'Connor avatar Hatta Zainal avatar James Cloos avatar  avatar Ryan Wu avatar Michael Anthony avatar Harald Haesler avatar Raffaele Tosti avatar Anthony Zhogolev avatar Sahan Dissa avatar Nikita Pavlovskiy avatar Ignat Rychkov avatar  avatar  avatar  avatar Kirill Alexeyenko avatar Nikitaw99 avatar João Carvalho avatar Stefan avatar victor saponari avatar  avatar Carlos Aurelio Pires avatar  avatar Romuald Mocq avatar Cheese avatar Samuel Wahba avatar K0RR avatar  avatar Abdurasul avatar Davide G avatar  avatar Kul avatar  avatar  avatar

penis.js's Issues

Enlarge it!

..seriously I mean adding bower support, because I'd like to use it my project

Smaller Penis

I noticed that at 3.958kb, Penis is quite large. Does Penis come in a smaller size?

I am not offended enough

As someone who loves satire, i feel this project can greatly contribute to the efforts of ridding the world of over-sensitive twits who take life too seriously.

More misogyny, more racism, more brutally offensive content. All in the name of satire, of course. I'm not actually a misogynist, i just seriously can't stand people who get offended by silly.

penis.js is silly. Lets take it to the satirical level! eh? Who doesn't love some good dick jokes? shit... dicss is like the most hilarious project ever(sorry, slightly more hilarious than this)

typescript

Hello penis.js team!

Is it possible to add types for typescript compiler?

Thank you!

B and D as global Symbols

It might be better to create global symbols for B and D so the Penis could be less intrusive and not lying all over the place? Let's keep it in pants until it's summoned, shouldn't we?

Project promotes racist, androcentrist material

@edankwan, I don’t know what your intentions were in creating this project, but personally I find it incredibly offensive on a number of levels:

  • the entire project is androcentrist — that is, creating and influencing a male-centric environment; there is enough of this in technology already without adding to it
  • the documentation provided is highly racist (using code to make jokes about genitalia in African men as compared to Asian men)
  • the document is highly crass and contributes to an environment in which anatomy is used as a basis for offensive humour

You may feel that if someone finds this project offensive they should simply look away and not pay any attention; however, know that projects like this are instrumental in alienating women, the non-cis-gendered, or indeed anyone who finds the topic of male genitalia or racism discomforting at best (also consider that children are learning to code and they don’t need to be exposed to this sort of material, either).

I hope that you consider this issue within the framework of an industry that is already androcentric, heteronormative and dominated by white supremacy enough as it is. Please don’t contribute to furthering these stereotypes and hugely offensive attitudes.

Missing getters

Thanks for creating this awesome package! I wanted to use it right away but quickly ran into problems. Seems like this project is still on the rise so I wanted to add suggestions for improvement:

  1. If there is setHead how come there is no getHead? To many users, this is a very important method. Please consider implementing it, but only after thorough testing.
  2. Maybe I was missing the point of the package but why is there no penis.getLength? The documentation states that this is about comparing variables and how can you do a penis.js comparison without the length? Seriously, you should go back and rub your head, then upload a new version.

Project is homophobic

I understand that there's a sister project, vagina.js, but the combination of these two projects promotes heretocentrist values.

Please create an ass.js and a mouth.js to help ensure that this project doesn't discriminate against other sexual orientations!

Demo required

How can such an awesome package not come with a demo?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.