https://github.com/kayhide/purescript-faker
https://github.com/kayhide/purescript-faker
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kayhide/purescript-faker
- Owner: kayhide
- Created: 2020-04-11T04:24:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-17T02:34:55.000Z (about 3 years ago)
- Last Synced: 2025-10-04T06:29:49.021Z (8 months ago)
- Language: PureScript
- Homepage:
- Size: 370 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PureScript Faker
PureScript version of [Faker](https://github.com/faker-ruby/faker).
## What is This?
Randomly generates fake items.
## How to Use
To pick a Name:
```purescript
main = do
Name x <- fake
log x
```
Everytime it runs, it generates different names like:
```
Milton Lang
David Murazik
Minerva Witting
Johnathon Bogisich
Lyman Brown
...
```
For first name only:
```purescript
main = do
FirstName x <- fake
log x
```
generating:
```
Karlene
Columbus
Verona
Freeda
Rheba
...
```
Currently it supports:
- `MaleFirstName`
- `FemaleFirstName`
- `FirstName`
- `LastName`
- `Name`
- `NameWithMiddle`