0.0.22 • Published 6 years ago

@plexis/to-swap-case v0.0.22

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

@plexis/to-swap-case

Swaps lowercase to uppercase and vice versa for the input text.

Installation npm i @plexis/to-swap-case

Usage

import toSwapCase from '@plexis/to-swap-case';

toSwapCase('Hello WORLD'); // => 'hELLO world'
toSwapCase('123 toys'); // => '123 TOYS'

Aliases

import toSwapCase from '@plexis/to-swap-case';
import {toSwapCase, swapCase} from 'plexis';