generation/
folder to create the necessary data.
Extends
Extended by
Constructors
new WordlistOwl()
locale
using the OWL data
and validated against the checksum
.
Parameters
Parameter | Type |
---|---|
locale | string |
data | string |
checksum | string |
Returns
WordlistOwl
Overrides
Wordlist
.constructor
Source
wordlists/wordlist-owl.ts:28Methods
_decodeWords()
Returns
string
[]
Source
wordlists/wordlist-owl.ts:47join()
words
into a phrase.
By default, words
are joined by a single space.
Parameters
Parameter | Type | Description |
---|---|---|
words | string [] | The words to join. |
Returns
string
The joined phrase.
Inherited from
Wordlist
.join
Source
wordlists/wordlist.ts:45split()
phrase
into individual words.
By default, phrase
is split using any sequences of white-space as defined by regular expressions (i.e.
/\s+/
).
Parameters
Parameter | Type | Description |
---|---|---|
phrase | string | The phrase to split. |
Returns
string
[]
The split words in the phrase.
Inherited from
Wordlist
.split