An open API service indexing awesome lists of open source software.

https://github.com/sivan/goldenfinger.js

Give you a goldenfinger as long as you need.
https://github.com/sivan/goldenfinger.js

Last synced: 2 months ago
JSON representation

Give you a goldenfinger as long as you need.

Awesome Lists containing this project

README

          

# GoldenFinger.js

![GoldenFinger](https://raw.githubusercontent.com/sivan/GoldenFinger.js/master/dist/goldenfinger.jpg)

Give you a goldenfinger as long as you need.

## Usage

```js
GoldenFinger();
=>
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░████░░░
░░░░░░░░░░░░░░░░░░░░░░░░░█▀──▀█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░████░░███████░░
░░░░░░░░░░░░░░░░░██──████▀────█░░
░░░░░░░░░░░░░░░░██────██──────█░░
░░░░░░░░░░░░░░░██────██───────█░░
░░░████████░░░██────██────────█░░
░░█████████████─────██──▄█▄───█░░
░░██████████────────██▄████───█░░
░░█████████──────────▀▀███▀───█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████──────────────────██░░
░░██████████───────────────███░░░
░░██████████████████████████░░░░░
░░░████████░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
```

Call your goldenfinger as long as you need.

```js
GoldenFinger()()()()();
=>
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░████░░░
░░░░░░░░░░░░░░░░░░░░░░░░░█▀──▀█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░████░░███████░░
░░░░░░░░░░░░░░░░░██──████▀────█░░
░░░░░░░░░░░░░░░░██────██──────█░░
░░░░░░░░░░░░░░░██────██───────█░░
░░░████████░░░██────██────────█░░
░░█████████████─────██──▄█▄───█░░
░░██████████────────██▄████───█░░
░░█████████──────────▀▀███▀───█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████──────────────────██░░
░░██████████───────────────███░░░
░░██████████████████████████░░░░░
░░░████████░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
```

## Method

### .text / .凸

Get your goldenfinger code. Samples below return same goldenfingers.

```js
GoldenFinger()() + '';
GoldenFinger()().toString();
GoldenFinger()().text();
GoldenFinger()().凸();
```

### .html

Wrap your goldenfinger with `

` tag.

```js
$('div').html(GoldenFinger()()()().html());
```

## Make own fingers

```js
var bf = new GoldenFinger();
var gf = new GoldenFinger();
bf.text({
tmpl: function(knuckle) {
var str = '[=:=';

(function addKnuckle() {
if (knuckle > 0) {
knuckle -= 1;
str += '=';
addKnuckle();
}
}());

return str + '>';
}
});

bf()()()()();
gf();
```

## License

MIT License

-- EOF --