https://github.com/izeau/gabuzomeu
A silly lib to convert human numbers to shadok and vice-versa
https://github.com/izeau/gabuzomeu
Last synced: 8 months ago
JSON representation
A silly lib to convert human numbers to shadok and vice-versa
- Host: GitHub
- URL: https://github.com/izeau/gabuzomeu
- Owner: izeau
- Created: 2016-08-03T17:10:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-03T17:26:56.000Z (almost 10 years ago)
- Last Synced: 2025-09-13T11:05:05.148Z (9 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# GABUZOMEU




## Convert a human number to a shadok number
```js
gabuzomeu.toNumber('ZOZO'); // 10
```
## Convert a shadok number to a human number
```js
gabuzomeu.toShadok(10); // 'ZOZO'
```
## Override parseInt and Number.prototype.toString
```js
gabuzomeu.shadokify(); // Run once
parseInt('ZOZO', 'shadok'); // 10
(10).toString('shadok'); // 'ZOZO'
// Rollback with:
gabuzomeu.gibify();
```
## Why?
Why *not*?