1.0.4 • Published 4 years ago
copy-case v1.0.4
Copy Case
Copy the case from one string into another.
Install
npm install copy-case
Usage
const copyCase = require('copy-case');
copyCase('something', 'AnYThinG');
// => 'SoMEthiNg'
copyCase(target, source)
Returns target
string copying source
string case.
target
Type: String
String to change the case.
source
Type: String
String to copy the case form.