# isbars

> If statements with super powers.

Latest version **1.0.1** (published 2020-07-18) · ISC license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2020-07-18 |
| First published | 2020-07-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | salvage_dev |
| Keywords | if, is, bars, state, statements |

## Links

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

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-07-18
- 1.0.0 — 2020-07-18

## README

# **Isbars**<br>

IsBars allows you to use english rather then symbols for writing if statements.<br>

# Examples
```js
const is = require('isbars');
const args = { x: 2, y: 3 };
if(is("x bigger than y", args)) {
    console.log("This won't log as x is not bigger than y");
    // x is defined in the args object, so is y.
};
if(is("3 bigger than 2")) {
    console.log("This will log as 3 is bigger than 2");
};
// You can replace bigger with smaller for an reversed result.
```

Still in eraly beta!

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