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
Permalink
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
test
.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
README.md
package.json version bump, update license Sep 3, 2014

README.md

Penis.JS

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.

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 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.