🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

anagram-finder-cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anagram-finder-cli

This CLI makes it possible to search for anagrams from a provided dictionary file

1.2.4
latest
Source
npm
Version published
Weekly downloads
7
-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • English
  • Norwegian

Contribution

Contributions are appreciated.

License

MIT licensed. See LICENSE.

Keywords

word

FAQs

Package last updated on 12 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts