1.0.4 • Published 4 years ago

copy-case v1.0.4

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

Copy Case

NPM Build Status codebeat badge Coverage Status XO code style

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.

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago