title
Version:
Capitalize your titles properly
94 lines (93 loc) • 1.05 kB
JavaScript
const conjunctions = [
"for",
"and",
"nor",
"but",
"or",
"yet",
"so"
];
const articles = [
"a",
"an",
"the"
];
const prepositions = [
"aboard",
"about",
"above",
"across",
"after",
"against",
"along",
"amid",
"among",
"anti",
"around",
"as",
"at",
"before",
"behind",
"below",
"beneath",
"beside",
"besides",
"between",
"beyond",
"but",
"by",
"concerning",
"considering",
"despite",
"down",
"during",
"except",
"excepting",
"excluding",
"following",
"for",
"from",
"in",
"inside",
"into",
"like",
"minus",
"near",
"of",
"off",
"on",
"onto",
"opposite",
"over",
"past",
"per",
"plus",
"regarding",
"round",
"save",
"since",
"than",
"through",
"to",
"toward",
"towards",
"under",
"underneath",
"unlike",
"until",
"up",
"upon",
"versus",
"via",
"with",
"within",
"without"
];
const lowerCase = /* @__PURE__ */ new Set([
...conjunctions,
...articles,
...prepositions
]);
export {
lowerCase
};