import { capitalizeAll } from "https://deno.land/x/written@v0.2.2/mod.ts";
Capitalize all words in a string apart from some common lower case words. This can be tested with the internal noncaps regular expression, which are stored by language code, or by passing a regular expression of your own.