# @tekwani/jstest

> Extremely lightweight testing package for Javascript.

Latest version **1.0.0** (published 2020-07-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tekwani/jstest
pnpm add @tekwani/jstest
yarn add @tekwani/jstest
bun add @tekwani/jstest
```

## 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.0 |
| Published | 2020-07-20 |
| First published | 2020-07-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nickhil Tekwani |
| Maintainers | tekwani |
| Keywords | test, npm, package, nickhil, tekwani |

## Links

- npm: https://www.npmjs.com/package/@tekwani/jstest
- Repository: https://github.com/nickhil-tekwani/jstest
- Issues: https://github.com/nickhil-tekwani/jstest/issues
- npm.io page: https://npm.io/package/@tekwani/jstest

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-07-20

## README

# @tekwani/jstest

![npm (scoped)](https://img.shields.io/npm/v/@tekwani/jstest)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@tekwani/jstest)
![GitHub](https://img.shields.io/github/license/nickhil-tekwani/jstest)

Extremely lightweight testing library. My first npm package!

## Install

```
$ npm install @tekwani/jstest
```

## Usage

```js
const isEqual = require("@tekwani/jstest")["isEqual"];
const isNotEqual = require("@tekwani/jstest")["isNotEqual"];

function add2(num) {
  return num + 2;
}

isEqual(add2(2), 4); // returns true, console logs "Test Passed"
isEqual(add2(2), 6); // returns false, console logs "Test Failed"
isNotEqual(add2(2), 4); // returns false, console logs "Test Failed"
isNotEqual(add2(2), 6); // returns true, console logs "Test Passed"
```

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