edankwan/penis.js
edankwan/penis.js has 1,365 GitHub stars and 28 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-09 05:38 UTC. Last push 2025-05-27.
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.
Measured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
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.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,375 starspublic-apis/public-apis
A collective list of free APIs
497,650 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,211 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,260 stars