Skip to content

semicolon-package/semicolon.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


semicolon.js
semicolon.js

Web development, redefined

NPM Gitter Downloads

UsageFunctionsDownloadCreditsLicense

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

Or with npm:

$ npm install semicolon.js

Credits

  • Cozy Planes (idea, planning, ...)
  • Skayo (setup, perfection, ...)

License

Apache License 2.0

Releases

No releases published

Packages

No packages published