API
The transform and analyze functions, every option with its default, and the eight stable error codes.
- transform The one function polytypo is built around: its signature in all five runtimes, what it returns, what it throws, and the purity it guarantees.
- Options Every polytypo option, its type and default, what it requires, and which error an invalid value raises.
- analyze The same pipeline as transform, reporting what it would change instead of changing it, with code-point offsets into your input.
- Error codes The eight stable polytypo error codes, when each is thrown, and why the code, not the message, is the contract.