anagram-finder-cli

1.2.4 • Public • Published

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.

listen
word
dog
laugh
elints
enlist
inlets
javascript
slinte
silent
nodejs
tinsel

Usage

    Usage
      $ ana <word> --file words.txt --json

    Options
      --file, -f  The dictionary to search for anagrams
      --json, -j  Output to json
      --csv,  -c  Output to csv

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

Contribution

Contributions are appreciated.

License

MIT licensed. See LICENSE.

Package Sidebar

Install

npm i anagram-finder-cli

Weekly Downloads

2

Version

1.2.4

License

MIT

Last publish

Collaborators

  • bjarneo