Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Krbz/cerebro-base64
Cerebro plugin to decode and encode string
https://github.com/Krbz/cerebro-base64
Last synced: 3 months ago
JSON representation
Cerebro plugin to decode and encode string
- Host: GitHub
- URL: https://github.com/Krbz/cerebro-base64
- Owner: pisze-programy
- License: mit
- Created: 2017-03-14T18:46:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-29T19:00:31.000Z (over 7 years ago)
- Last Synced: 2024-07-29T00:44:06.067Z (4 months ago)
- Language: JavaScript
- Size: 8.42 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cerebro - cerebro-base64 - Cerebro plugin to decode and encode buffer using base64 methods. (Plugins)
README
# cerebro-base64
Cerebro plugin to decode and encode buffer using base64 methods## Base usage
![Cerebro-base64](https://raw.githubusercontent.com/Krbz/cerebro-base64/master/cerebro-base64.gif)
```javascript
base64 [method] [buffer]
```
* [method] - `look at [API](https://github.com/Krbz/cerebro-base64#api)`
* [buffer] - `Any string, depends on method`## API
Start typing 'base64' keyword. Cerebro searcher should render all methods.### Available Methods
* Encode
Encodes a buffer to base64, returns encoded ascii string```ssh
$ base64 decode it's awesome
```
Should Render base64 buffer
```ssh
= aXQncyBhd2Vzb21l
```* Decode
Decodes a buffer containing base64 string to ascii string.```ssh
base64 decode aXQncyBhd2Vzb21l
```
Should Render ascii buffer
```ssh
= it's awesome
```## Related
* [Cerebro](http://github.com/KELiON/cerebro) – main repo for Cerebro app;
* [cerebro tools](http://github.com/KELiON/cerebro-tools) – package with tools to simplify package creation;## License
MIT © [Krystian Błaszczyk](https://github.com/Krbz)