An open API service indexing awesome lists of open source software.

https://github.com/faker-javascript/boolean

Boolean package provides functionality to generate a fake boolean value.
https://github.com/faker-javascript/boolean

fake-data fake-data-generator faker faker-generator fakerjs javascript js typescript

Last synced: 2 months ago
JSON representation

Boolean package provides functionality to generate a fake boolean value.

Awesome Lists containing this project

README

        

Boolean



Boolean package provides functionality to generate a fake boolean value.


Version node-current License

## Install

npm
```
npm install @fakerjs/boolean --save-dev
```

yarn
```
yarn add @fakerjs/boolean -D
```

## Usage

```js
import boolean from '@fakerjs/boolean';

boolean();
//=> true

boolean();
//=> false
```

## Tests

Run tests

```
npm run test
```

## License
[The MIT License (MIT)](https://github.com/faker-javascript/boolean/blob/master/LICENSE)
Copyright (c) [Sergey Romanenko](https://github.com/Awilum)