Coder Social home page Coder Social logo

semicolon.js's Introduction


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

semicolon.js's People

Contributors

jonasgeiler avatar cozyplanes avatar

Watchers

Russell John avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.