# assignment6

> ucsc assignment6

Latest version **1.0.6** (published 2016-10-20) · ISC license · 0 weekly downloads

## Install

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

## 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.6 |
| Published | 2016-10-20 |
| First published | 2016-10-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | chuanlu |
| Maintainers | luka1990 |

## Links

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

## Recent versions

- 1.0.6 (latest) — 2016-10-20
- 1.0.5 — 2016-10-20
- 1.0.4 — 2016-10-20
- 1.0.3 — 2016-10-20
- 1.0.2 — 2016-10-20
- 1.0.1 — 2016-10-20
- 1.0.0 — 2016-10-20

## README

ucsc assignment6

## Features
checkword.js exports a function that takes in 2 arguments, first arg is a word, second arg is words array.
If second arg array contains first arg, the function will flag the first arg as inappropriate for the array,
otherwise it will show it's OK for the array.

## Installation

```bash
npm install assignment6
```

## tests
test.js include several test cases for the checkWord function.
* test 1 shows function flags the first arg as inappropriate for the array that contains it.
* test 2 shows function flags the first arg as OK for the array that does not contains it.
* test 3 shows function flags error when second arg is not an array.
* test 4/5 show function flags error when arguments are not provided as required.
* to run the tests, use
```bash
node test
```

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