five.js
A library to overcomplicate 5
.
Usage
Require the module
var five = require('five');
In the browser
<script type="text/javascript" src="./five.js"></script>
Basic 5
five();
Addition
five() + five();
Multiplication
five() * five();
Division
five() / five();
Different sorts of 5
five.upHigh()
five.downLow()
five.tooSlow()
five.roman()
five.morseCode()
5 goes multilingual
five.arabic()
five.croatian()
five.czech()
five.english()
five.french()
five.german()
five.irish()
five.mongolian()
five.polish()
five.swedish()
five.thai()
Different radices
five.binary();
five.octal();
Development
The code
All of the logic & heavy lifting is achieved in one self-contained file:
./five.js
Tests
npm test