BIP-0039 Checker
Normalize and spell check BIP-0039 brain seed phrases.
Interfaces may gather word suggestions from this package and use them for auto-complete or show them as suggestions for misspelled words (this could help a user recover their funds).
API
const assert = const normalize checkWords suggest = // 'english' is the default and may be omitted.. // Normalizesassertassertassert // Checks each word in the seed // Auto-correct suggestionsassert // BIP-0039 dictionaries are exportedconst languages wordlist = console // Word list array for a given language// etc.. (all languages must be 2048 words)