# boolean-pro

> A npm pro package to get true and false values

Latest version **1.0.1** (published 2026-04-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install boolean-pro
pnpm add boolean-pro
yarn add boolean-pro
bun add boolean-pro
```

## Health

**Score 50/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2026-04-08 |
| First published | 2024-10-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2 |
| Author | Melvin Jones Repol |
| Maintainers | mrepol742 |
| Keywords | boolean, true, false |

## Links

- npm: https://www.npmjs.com/package/boolean-pro
- Repository: https://github.com/mrepol742/boolean-pro
- Issues: https://github.com/mrepol742/boolean-pro/issues
- npm.io page: https://npm.io/package/boolean-pro

## Dependencies (1)

- [successor](https://npm.io/package/successor.md) ^1.0.1

## Recent versions

- 1.0.1 (latest) — 2026-04-08
- 1.0.0 — 2024-10-16

## README

# boolean-pro

A npm pro package to get true and false values

## Installation

You can install `boolean-pro` using npm:

```bash
npm i boolean-pro
```

## Usage

```javascript
const booleanPro = require('boolean-pro');

console.log(booleanPro.getTrue());  // true
console.log(booleanPro.getFalse()); // false

console.log(booleanPro.isTrue(booleanPro.getTrue())); // true
console.log(booleanPro.isFalse(booleanPro.getFalse())); // true
```

### Returns

The function returns an object with the following properties:

- **getTrue**: Functions that returns a boolean value indicating that its true.
- **getFalse**: Function that returns a boolean value indicating that its false and not true.
- **isTrue**: Function that checks if a given value is the boolean value indicating that its true.
- **isFalse**: Function that checks if a given value is the boolean value indicating that its false and not true.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

Feel free to customize it further to fit your style or any additional details you'd like to include!

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