Hi
Many thanks for your commitment.
The file /examples/example.js works well, maybe we should use that in README to have more consistency.
BTW: Hyphenopoly.config only returns a promise if exactly one language is required, otherwise it returns a map of promises (see https://mnater.github.io/Hyphenopoly/Module.html#usage). However, a function that returns different types depending on the inputs is not a good idea - I don't know what I had in mind.
Hi Many thanks for your commitment. The file /examples/example.js works well, maybe we should use that in README to have more consistency.
BTW:
Hyphenopoly.config
only returns a promise if exactly one language is required, otherwise it returns a map of promises (see https://mnater.github.io/Hyphenopoly/Module.html#usage). However, a function that returns different types depending on the inputs is not a good idea - I don't know what I had in mind.