string-ts-library
v1.0.1
Published
Functions to help work with the String Object more smoothly
Downloads
7
Maintainers
Readme
string-ts-library
String library is a JS library which provides straight-forward, powerful functions for working with the String Object in JavaScript. Although originally builted into JavaScript and can be called by using '' or "", it can also be used with other objects and for other purposes. A TypeScript version will be included in the main library that should available for use automatically.
Table of Contents
Features
- Capitalize the first letter
- Capitalize all letters in a sentence
- Removes extra spaces
- Returns a string that is kebob case
- Returns a string that is snake case
- Returns a string that is camel case
- Return a string that shift over a number that a user specifies
- Place a hashtag in front of a string
- Check if a string is empty, has whitespace or matches the \n or \r or \t characters
Installing
Packgae Manager
Using npm:
$ npm i @evacuatesw/string-ts-library
Using yarn:
$ yarn add @evacuatesw/string-ts-library