An open API service indexing awesome lists of open source software.

https://github.com/el634dev/string-library

String helper functions written in TypeScript
https://github.com/el634dev/string-library

helper-functions npm-package strings typescript

Last synced: about 2 months ago
JSON representation

String helper functions written in TypeScript

Awesome Lists containing this project

README

          

# string-ts-library
![GitHub License](https://img.shields.io/badge/license-MIT-blue)
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/el634dev/string-library)
![GitHub repo size](https://img.shields.io/github/repo-size/el634dev/string-library)

String library is a JS/TS 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](#features)
* [Installing](#installing)
* [License](#license)

## 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

# NPM
[NPM Page](https://www.npmjs.com/package/string-ts-library?activeTab=readme)

## License
[MIT](https://github.com/el634dev/string-library/blob/main/LICENSE.txt)