This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/swap-case/README.md

887 B

Swap Case

NPM version NPM downloads Bundle size

Transform a string by swapping every character from upper to lower case, or lower to upper case.

Installation

npm install swap-case --save

Usage

import { swapCase } from "swap-case";

swapCase("string"); //=> "STRING"
swapCase("dot.case"); //=> "DOT.CASE"
swapCase("PascalCase"); //=> "pASCALcASE"

License

MIT