# check-str

> check string for all the words in the array, and return true if all the words in the array are found in order.

Latest version **2.0.1** (published 2022-06-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install check-str
pnpm add check-str
yarn add check-str
bun add check-str
```

## 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 | 2.0.1 |
| Published | 2022-06-24 |
| First published | 2022-06-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | nvcbl |
| Maintainers | nvcbl |

## Links

- npm: https://www.npmjs.com/package/check-str
- npm.io page: https://npm.io/package/check-str

## Recent versions

- 2.0.1 (latest) — 2022-06-24
- 2.0.0 — 2022-06-24
- 1.0.0 — 2022-06-18

## README

# check-str

Check string for an array of words

## usage

```javascript
const checker = require('check-str')

// true
checker(['foo', 'bar'], 'foo bar')

// true
checker(['foo', 'bar'], 'foo OHMYWHATISHEDOINGOVERTHERE bar')

// false
checker(['foo', 'bar'], 'bar foo')

// false
checker(['foo', 'bar'], 'foo what comes after foo again??')

// new feature - now can be case insensitive!
checker(['FOO', 'bar'], 'FoO bAr', true)
```

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