# @writetome51/not

> A better alternative to the sneaky exclamation point

Latest version **2.0.1** (published 2021-04-20) · FREE license · 0 weekly downloads

## Install

```sh
npm install @writetome51/not
pnpm add @writetome51/not
yarn add @writetome51/not
bun add @writetome51/not
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2021-04-20 |
| First published | 2018-09-27 |
| Weekly downloads | 0 |
| License | FREE |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Steve Thompson |
| Maintainers | writetome51 |
| Keywords | negation, operator, alternative, boolean, not |

## Links

- npm: https://www.npmjs.com/package/@writetome51/not
- Homepage: https://github.com/writetome51/javascript-not
- npm.io page: https://npm.io/package/@writetome51/not

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2021-04-20
- 2.0.0 — 2020-07-26
- 1.0.5 — 2019-03-14
- 1.0.4 — 2019-02-23
- 1.0.3 — 2018-10-04
- 1.0.2 — 2018-10-04
- 1.0.0 — 2018-09-27

## README

# not(booleanExpression): boolean

It's an alternative to writing `!(booleanExpression)`.  
`not` is just a little more noticeable than the sneaky `!` negation operator.

## Examples
```js
not(false); // --> true

not(true); // --> false

not(1 === 2); // --> true

if ( not( isEmpty( [1,2,3,4] ) ) ) {
	console.log('The array contains items');
}
  // console: 'The array contains items'
```

## Installation
`npm i  @writetome51/not`  


## Loading
```js
import { not } from '@writetome51/not';
```

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