New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

copy-case

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-case

Copy the case form one string into another

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Copy Case

NPM Build Status codebeat badge Coverage Status XO code style

Copy the case from one string into another.

  • Install
  • Usage

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.

Keywords

string

FAQs

Package last updated on 26 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts