Socket
Socket
Sign inDemoInstall

string-me-up-scotty

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    string-me-up-scotty

The purpose of this package is to create a series of string methods to assist with string manipulation.


Version published
Weekly downloads
6
Maintainers
1
Install size
63.3 kB
Created
Weekly downloads
 

Readme

Source

npm Build Status Coverage Status

The purpose of this package is to create a series of string methods to assist with string manipulation.

Usage

Available methods:

  • capitalize() - makes the first character of a given string uppercase
  • reverseCapitalize() - makes the first character of a given string lowercase, makes all other letters uppercase
  • allCaps() - makes all characters uppercase
  • allLower() - makes all characters lowercase
  • capitalizeWords() - makes the first character of each word uppercase
  • removeExtraSpaces() - Removes all spaces from the beginning and end of a String along with any extra spaces in the middle. If more than one space appears in the middle of a string it is replaced by a single space.
  • kabobCase() - Removes extra spaces and replaces spaces with the hyphen "-", and makes all characters lowercase
  • snakeCase() - Removes extra space and replaces spaces with an underscore, and makes all characters lowercase
  • camelCase() - Lowercases the first character of the first word. Then uppercases the first character of all other words, and removes all spaces

FAQs

Last updated on 08 Apr 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc