Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Edan Kwan
Edan Kwan cname add
Latest commit e66ba95 Jan 12, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets readme update Jan 12, 2016
src change the method name setDickHead into setHead Sep 3, 2014
.gitattributes add draft concept readme file Nov 7, 2012
.gitignore add testling setup to get a smoke test in IE, wrap getters in conditi… Sep 3, 2014
CNAME cname add Jan 12, 2016
package.json version bump, update license Sep 3, 2014


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


Traditional comparing:

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

penis.js comparing:

if(B===D) alert('true');

Soft or hard penis comparing:


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';



D == 'dick' // true;


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


run npm test or testling to run the test suite.


penis.js is currently under Giant Penis License (GPL) which is a deformed M.I.T license including penis text art.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.