Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfrazee/base-dict
Output a buffer in words using a dictionary
https://github.com/pfrazee/base-dict
Last synced: 14 days ago
JSON representation
Output a buffer in words using a dictionary
- Host: GitHub
- URL: https://github.com/pfrazee/base-dict
- Owner: pfrazee
- Created: 2014-11-14T18:24:07.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-14T18:24:15.000Z (about 10 years ago)
- Last Synced: 2024-11-16T23:08:51.205Z (about 2 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# base dict
You have base 16, base 64, [base emoji](https://github.com/pfraze/base-emoji), and now, base dict.
(Output a buffer in words.)
## example
```
toDict: deadbeef
team hospital roomtoDict: 6ecd355b90e81e72c0e37c3b4023325b20f048c58d4200c69e4fbd550876e6fe
human have finger canyon limit defense adjust hurdle deputy absurd smart rent audit caught bike portion absorb crunch negative kingdom explain derive orbit scissorstoDict: 88c9aa687a076aa530cc18d7921cec1f90f7779ad25915204d272a695072f58a
match essence old village issue family segment loan stuff movie deposit dish author rookie hero enroll benefit act endorse feel never defense stomach energy
```## api
```js
var toWords = require('base-dict')
var buf = new Buffer('deadbeef', 'hex')
toWords(buf)
// => ['team' 'hospital' 'room']
```