The string tags to parse
Optional
delimiter: string | RegExpThe delimiter to split the strings of tags. Accepts a string or a RegExp
Defaults to /\s+/
. Note: While it is optional, if your string of tags contains spaces within the tag,
it is recommended to have a custom delimiter as a lot of tags have spaces some even have special characters.
node-hitomi
had an array of tags but due to speed constraints, it was changed to a set)
Parses the stringified tags and returns a set of tags. Accepts a delimiter to split the stringified tags.