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.
- Host: GitHub
- URL: https://github.com/faker-javascript/boolean
- Owner: faker-javascript
- License: mit
- Created: 2022-01-08T16:59:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-12T17:18:10.000Z (about 3 years ago)
- Last Synced: 2025-03-17T22:55:13.217Z (3 months ago)
- Topics: fake-data, fake-data-generator, faker, faker-generator, fakerjs, javascript, js, typescript
- Language: JavaScript
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Boolean
Boolean package provides functionality to generate a fake boolean value.## Install
npm
```
npm install @fakerjs/boolean --save-dev
```yarn
```
yarn add @fakerjs/boolean -D
```## Usage
```js
import boolean from '@fakerjs/boolean';boolean();
//=> trueboolean();
//=> 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)