Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bjarneo/anagram-finder-cli
This CLI makes it possible to search for anagrams from a provided dictionary file.
https://github.com/bjarneo/anagram-finder-cli
anagram-finder-cli anagrams cli
Last synced: 3 days ago
JSON representation
This CLI makes it possible to search for anagrams from a provided dictionary file.
- Host: GitHub
- URL: https://github.com/bjarneo/anagram-finder-cli
- Owner: bjarneo
- License: mit
- Created: 2017-12-06T11:47:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T10:40:10.000Z (almost 7 years ago)
- Last Synced: 2024-09-27T09:22:28.901Z (about 2 months ago)
- Topics: anagram-finder-cli, anagrams, cli
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/anagram-finder-cli
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
anagram finder cli
======What is this?
------
This CLI makes it possible to search for anagrams from a provided dictionary file. Dictionary must have one word each line, see example.Installation
------
It's available on npm.
```
npm install -g anagram-finder-cli
```Usage
------
Example words.txt file.
```js
listen
word
dog
laugh
elints
enlist
inlets
javascript
slinte
silent
nodejs
tinsel
```Usage
```bash
Usage
$ ana --file words.txt --jsonOptions
--file, -f The dictionary to search for anagrams
--json, -j Output to json
--csv, -c Output to csvExamples
$ ana silent --file words.txt --json
{
"word": "listen",
"anagrams": [
"listen",
"elints",
"enlist",
"inlets",
"silent",
"slinte",
"tinsel"
],
"count": 7
}
```Dictionaries
------
Feel free to add your dictionary* [English](https://github.com/dwyl/english-words)
* [Norwegian](https://github.com/0301/ordliste)Contribution
------
Contributions are appreciated.License
------
MIT licensed. See LICENSE.