swappy v0.0.1 API Reference

Modules

Opinionated filter for English dictionaries - removes ‘useless’ short (1-2 character) words for performance. Which short words are useful is a matter of opinion - eg, I decided that ‘mb’ was useful but ‘co’ wasn’t. In any case, anagrams are found by repeatedly subtracting valid words, so the more very short words we have, the more times we must recurse, and the longer it takes us. The difference can be dramatic, so it’s definitely worth filtering your dictionary somehow, even if you don’t use this exact filter

Generates anagrams using the default dictionary and outputs to STDOUT. Usage