# stringprocessor

> methods for processing strings

Latest version **1.0.3** (published 2021-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install stringprocessor
pnpm add stringprocessor
yarn add stringprocessor
bun add stringprocessor
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-07-26 |
| First published | 2021-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ptxd |
| Maintainers | ptxds |
| Keywords | string, processor, package, string to object |

## Links

- npm: https://www.npmjs.com/package/stringprocessor
- Repository: https://github.com/ptxd/stringprocessor
- Homepage: https://github.com/ptxd/stringprocessor#readme
- Issues: https://github.com/ptxd/stringprocessor/issues
- npm.io page: https://npm.io/package/stringprocessor

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2021-07-26
- 1.0.2 — 2021-07-21
- 1.0.1 — 2021-07-21
- 1.0.0 — 2021-07-21

## README

<h1 align="center">String Processor</h1>

<div align="center">

Lightweight package for processing strings in Javascript 

[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ptxd/stringprocessor.git/master/LICENSE)
[![npm version](https://badge.fury.io/js/stringprocessor.svg)](https://badge.fury.io/js/stringprocessor)

</div>

## Installation

```sh
// with npm
npm install stringprocessor

// with yarn
yarn add stringprocessor
```
## Functionalities


* **StringProc:** Methods returns a string literal
* **StringToObject:** Methods require a key value and returns an object key-value pair

Current list of methods and usage:
- lowercase
- uppercase
- capitalize
- deletespaces

## Usage
```js
const {StringProc, StringToObject} = require('stringprocessor')

//StringProc only takes in a single argument

# console.log(StringProc.capitalize('california')) 
// returns 'California'

# console.log(StringProc.deletespaces('cali f ornia') 
// returns 'california'

# console.log(StringToObject.capitalize('state','california')) 
//returns {state:'California'}

# console.log(StringToObject.deletespaces('state','cali f ornia')) 
//returns {state:'california'}
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[MIT licensed](./LICENSE).

---
_Source: https://npm.io/package/stringprocessor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
