Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/semicolon-package/semicolon.js
A way to simplify semicolons.
https://github.com/semicolon-package/semicolon.js
Last synced: about 2 months ago
JSON representation
A way to simplify semicolons.
- Host: GitHub
- URL: https://github.com/semicolon-package/semicolon.js
- Owner: semicolon-package
- License: apache-2.0
- Created: 2018-03-28T15:07:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-28T01:23:42.000Z (about 6 years ago)
- Last Synced: 2024-06-23T12:41:23.497Z (3 months ago)
- Language: JavaScript
- Homepage: http://semicolonjs.com
- Size: 26.4 KB
- Stars: 24
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-devrant - semicolon.js - A JavaScript library inspired by the 2017 april fools joke (Uncategorized / Uncategorized)
README
semicolon.js
Web development, redefined
Usage •
Functions •
Download •
Credits •
License## Usage
##### Require the module
```javascript
var semicolon = require('semicolon');
```##### In the browser
```html```
## Functions
##### Basic semicolon
```javascript
semicolon(); // ;
```##### The Law of Semicolons
```javascript
semicolon.law(); // The Law of Semicolons states simply that: semicolons makes you chilled all the time.
```##### Multilingual
```javascript
semicolon.english(); // semicolon
semicolon.korean(); // 세미콜론
semicolon.german(); // semikolon
```##### Length
```javascript
semicolon.len(); // 1
```##### Twins
```javascript
semicolon.twins(); // ; (greek question mark)
```##### Assertion
```javascript
semicolon.isSemicolon(','); // false
```##### Cryptography
```javascript
semicolon.mdSemicolon(); // 9eecb7db59d16c80417c72d1e1f4fbf1
semicolon.bcryptSemicolon(); // $2y$10$tvI086gYYhR6SfNO1sLAueVMFgjf.sXEcLJaDOpRjxJ2Z3FIpsqIu
```##### Different radices
```javascript
semicolon.binary(); // 111011
semicolon.octal(); // 73
semicolon.hex(); // 3b
semicolon.base(4); // 323
semicolon.base(3); // 2012
```##### Asynchronous Usage
```javascript
semicolon.async(function(err, semicolon) {
// semicolon === ';'
});
```##### Filter, Map and Reduce
```javascript
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:
```shell
$ npm install semicolon.js
```## Credits
- Cozy Planes (idea, planning, ...)
- Skayo (setup, perfection, ...)## License
[Apache License 2.0](https://github.com/semicolon-package/semicolon.js/blob/master/LICENSE)