case-combiner
A high performance function to find all lowercase and uppercase combinations of a string in JavaScript.
Usage
.../*[ "HTTP", "HTTp", "HTtP", "HTtp", "HtTP", "HtTp", "HttP", "Http", "hTTP", "hTTp", "hTtP", "hTtp", "htTP", "htTp", "httP", "http"].length === 16*/ .../*[ "HTTP://", "HTTp://", "HTtP://", "HTtp://", "HtTP://", "HtTp://", "HttP://", "Http://", "hTTP://", "hTTp://", "hTtP://", "hTtp://", "htTP://", "htTp://", "httP://", "http://"].length === 16*/
Install
NPM
npm install
Yarn
yarn add
Import
ECMAScript Next Style
CommonJS Style
const combiner combineGenerator =
Test(Include performance test case)
NPM
npm test
Yarn
yarn test