Map-Case
Map the casing of one word to another.
Installation
$ npm install map-
API
map(from, to)
Exact, character to character case mapping.
from
- Word with target case.to
- Targeted word.
const mapCase = ; === 'BbbB'; // Ignores non-letters === 'B1 bB';
Maps at most as many letters as from
contains, ignoring the rest.