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.
- Host: GitHub
- URL: https://github.com/sivan/goldenfinger.js
- Owner: sivan
- Created: 2016-07-12T04:05:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-12T04:05:55.000Z (almost 10 years ago)
- Last Synced: 2025-02-17T11:37:09.810Z (over 1 year ago)
- Language: JavaScript
- Size: 42 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# GoldenFinger.js

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