2.0.2 • Published 1 year ago

change-capitalization v2.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Module Summary

The library change-capitalization is used to increase or decrease any letter of a string using an index.


How to import

Use this like in the example below:

import { toLowerCase, toUpperCase } if you are using both

import { toLowerCase } if you are using lowerCase version

import { toUpperCase } if you are using upperCase version


Explanation

toLowerCase(word)(letterIndex) => changedWord

INPUT PARAMS:

word: string

letterIndex: number

OUTPUT VALUE:

changedWord: string


Examples

console.log(toLowerCase("Hello World")(0)) // hello world

console.log(toUpperCase("Hello World")(10)) // Hello WorlD

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago