1.2.2 • Published 5 years ago

stringily-lib v1.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Stringily

A basic library to manipulate strings. Methods are generated with prototypes.

Methods

MethodsDescriptionsExamples
capitalized()This method will capitalize the first character in your sentence/string'hello'.capitalized() -> 'Hello'
allCapitalized()This method will capitalized everything that is passed in as string'hello'.allCapitalized() -> 'HELLO'
firstCharsToUpper()This method will capitalize first character of every word'hello work'.firstCharsToUpper() -> 'Hello World'
evenCaps()Capitalize every even character in a string'hello'.evenCaps() -> 'hElLo'
oddCaps()Capitalize every odd character in a string'hello'.oddCaps() -> 'HeLlO'
kabobCase()Remove extra space and replace with hyphen -'hello world'.kabobCase() -> 'hello-world'
snakeCase()Removes extra space and replaces spaces with an underscore _'hello world'.snakeCase() -> 'hello_world'
removeSpaces()Removes all spaces from the beginning and end of a String along with any extra spaces in the middle.' hello world '.removeSpaces() -> 'helloworld'

NPM package

stringily-lib

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago