Package Exports
- semicolon.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (semicolon.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
semicolon.js
Web development, redefined.
Usage • Functions • Download • Credits • License
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(); // semikolon
Length
semicolon.len(); // 1
Twins
semicolon.twins(); // ; (greek question mark)
Assertion
semicolon.isSemicolon(','); // false
Cryptography
semicolon.mdSemicolon(); // 9eecb7db59d16c80417c72d1e1f4fbf1
semicolon.bcryptSemicolon(); // $2y$10$tvI086gYYhR6SfNO1sLAueVMFgjf.sXEcLJaDOpRjxJ2Z3FIpsqIu
Different radices
semicolon.binary(); // 111011
semicolon.octal(); // 73
semicolon.hex(); // 3b
semicolon.base(4); // 323
semicolon.base(3); // 2012
Asynchronous 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, ...)