semicolon.js
v0.1.3
Published
Web development, redefined.
Maintainers
Readme
Usage
Require the module
var semicolon = require('semicolon');In the browser
<script type="text/javascript" src="./semicolon.js"></script>Functions
Basic semicolon
semicolon(); // ;The Law of Fives
semicolon.law(); // The Law of Semicolons states simply that: semicolons makes you chilled all the time.Multilingual
semicolon.english(); // semicolon
semicolon.korean(); // 세미콜론
semicolon.german(); // semikolonLength
semicolon.len(); // 1Twins
semicolon.twins(); // ; (greek question mark)Assertion
semicolon.isSemicolon(','); // falseCryptography
semicolon.mdSemicolon(); // 9eecb7db59d16c80417c72d1e1f4fbf1
semicolon.bcryptSemicolon(); // $2y$10$tvI086gYYhR6SfNO1sLAueVMFgjf.sXEcLJaDOpRjxJ2Z3FIpsqIuDifferent radices
semicolon.binary(); // 111011
semicolon.octal(); // 73
semicolon.hex(); // 3b
semicolon.base(4); // 323
semicolon.base(3); // 2012Asynchronous Usage
semicolon.async(function(err, semicolon) {
// semicolon === ';'
});Filter, Map and Reduce
semicolon.filter([';', true, ';']); // [';', ';']
semicolon.map([1, 2, 3]); // [';', ';', ';']
semicolon.reduce([1, 2, 3]); // ;Download
You can download the package here: Download ZIP
Credits
- Cozy Planes (idea, planning, ...)
- Skayo (setup, perfection, ...)
